Spaces:
Configuration error
Configuration error
Download node_modules/object-inspect/test/global.js from khoadang31/uptime: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/spaces/khoadang31/uptime/resolve/main/node_modules/object-inspect/test/global.js
- Command line
-
hf download hf://spaces/khoadang31/uptime/node_modules/object-inspect/test/global.js
-
curl -L -o global.js https://huggingface.co/spaces/khoadang31/uptime/resolve/main/node_modules/object-inspect/test/global.js
372 Bytes
| ; | |
| 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(); | |
| }); | |