mirror of
https://github.com/actions/labeler
synced 2026-05-10 21:31:01 +02:00
build
This commit is contained in:
4
node_modules/object.getownpropertydescriptors/test/index.js
generated
vendored
4
node_modules/object.getownpropertydescriptors/test/index.js
generated
vendored
@@ -6,8 +6,8 @@ var runTests = require('./tests');
|
||||
|
||||
test('as a function', function (t) {
|
||||
t.test('bad object/this value', function (st) {
|
||||
st.throws(function () { return getDescriptors(undefined); }, TypeError, 'undefined is not an object');
|
||||
st.throws(function () { return getDescriptors(null); }, TypeError, 'null is not an object');
|
||||
st['throws'](function () { return getDescriptors(undefined); }, TypeError, 'undefined is not an object');
|
||||
st['throws'](function () { return getDescriptors(null); }, TypeError, 'null is not an object');
|
||||
st.end();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user