Files
SnowLuma/.pnpm-store/v11/files/37/a1fd08d61c3875789b71cb47e6251442ea77079028a13958d2b4b37a6f58dbe127e1993d5854e7fbf05734929fedb3a06be27c9e7027cd99e0f4ab31a8059a
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

18 lines
372 B
Plaintext

'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();
});