UNPKG

@fntio/infra-client

Version:

Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.

18 lines (13 loc) • 372 B
'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(); });