This commit is contained in:
bwstudio
2025-10-22 08:19:00 +08:00
parent 467b04e5b0
commit 97fbfe08d7
6040 changed files with 529099 additions and 9685 deletions
+17
View File
@@ -0,0 +1,17 @@
'use strict';
var entries = 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 () { entries(undefined); }, TypeError, 'undefined is not an object');
st['throws'](function () { entries(null); }, TypeError, 'null is not an object');
st.end();
});
runTests(entries, t);
t.end();
});