/
var
/
www
/
cobraambalaj
/
node_modules
/
object.values
/
test
/
/var/www/cobraambalaj/node_modules/object.values/test
mkdir
upload
Name
Size
Mode
Actions
.eslintrc
246
0644
edit
dl
rm
implementation.js
645
0644
edit
dl
rm
index.js
424
0644
edit
dl
rm
shimmed.js
1188
0644
edit
dl
rm
tests.js
2625
0644
edit
dl
rm
Edit:
/var/www/cobraambalaj/node_modules/object.values/test/index.js
(424B)
'use strict'; var values = 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 () { values(undefined); }, TypeError, 'undefined is not an object'); st['throws'](function () { values(null); }, TypeError, 'null is not an object'); st.end(); }); runTests(values, t); t.end(); });
Save
cmd:
run