diff options
Diffstat (limited to 'backend/node_modules/object-inspect/test/global.js')
-rw-r--r-- | backend/node_modules/object-inspect/test/global.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/backend/node_modules/object-inspect/test/global.js b/backend/node_modules/object-inspect/test/global.js deleted file mode 100644 index c57216a..0000000 --- a/backend/node_modules/object-inspect/test/global.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var inspect = require('../'); - -var test = require('tape'); -var globalThis = require('globalthis')(); - -test('global object', function (t) { - /* eslint-env browser */ - var expected = typeof window === 'undefined' ? 'globalThis' : 'Window'; - t.equal( - inspect([globalThis]), - '[ { [object ' + expected + '] } ]' - ); - - t.end(); -}); |