wishthis/node_modules/ext/test/global-this/index.js

11 lines
353 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
"use strict";
var isObject = require("type/object/is")
, assert = require("chai").assert
, globalThis = require("../../global-this");
describe("global-this", function () {
it("Should be an object", function () { assert(isObject(globalThis)); });
it("Should be a global object", function () { assert.equal(globalThis.Array, Array); });
});