refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
17
home/ags/node_modules/array-includes/test/index.js
generated
vendored
17
home/ags/node_modules/array-includes/test/index.js
generated
vendored
|
|
@ -1,17 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
var includes = require('../');
|
||||
var test = require('tape');
|
||||
var runTests = require('./tests');
|
||||
|
||||
test('as a function', function (t) {
|
||||
t.test('bad array/this value', function (st) {
|
||||
st['throws'](function () { includes(undefined, 'a'); }, TypeError, 'undefined is not an object');
|
||||
st['throws'](function () { includes(null, 'a'); }, TypeError, 'null is not an object');
|
||||
st.end();
|
||||
});
|
||||
|
||||
runTests(includes, t);
|
||||
|
||||
t.end();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue