/
var
/
www
/
flurhymez
/
node_modules
/
object.assign
/
test
/
/var/www/flurhymez/node_modules/object.assign/test
mkdir
upload
Name
Size
Mode
Actions
index.js
424
0644
edit
dl
rm
native.js
1868
0644
edit
dl
rm
ses-compat.js
220
0644
edit
dl
rm
shimmed.js
1914
0644
edit
dl
rm
tests.js
7883
0644
edit
dl
rm
Edit:
/var/www/flurhymez/node_modules/object.assign/test/index.js
(424B)
'use strict'; var assign = 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 () { assign(undefined); }, TypeError, 'undefined is not an object'); st['throws'](function () { assign(null); }, TypeError, 'null is not an object'); st.end(); }); runTests(assign, t); t.end(); });
Save
cmd:
run