0.2.0 - Mid migration

This commit is contained in:
Daniel Mason 2022-04-25 14:47:15 +12:00
parent 139e6a915e
commit 7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions

View file

@ -0,0 +1,13 @@
"use strict";
var isObject = require("type/object/is")
, assert = require("chai").assert
, globalThis = require("../../global-this/implementation");
describe("global-this/implementation", function () {
it("Should be an object", function () { assert(isObject(globalThis)); });
it("Should be a global object", function () { assert.equal(globalThis.Array, Array); });
it("Internal resolution should not introduce side-effects", function () {
assert(!("__global__" in Object.prototype));
});
});

10
web/node_modules/ext/test/global-this/index.js generated vendored Normal file
View file

@ -0,0 +1,10 @@
"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); });
});

View file

@ -0,0 +1,8 @@
"use strict";
var assert = require("chai").assert
, isImplemented = require("../../global-this/is-implemented");
describe("global-this/is-implemented", function () {
it("Should return boolean", function () { assert.equal(typeof isImplemented(), "boolean"); });
});