mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-02 22:22:19 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
13
web/node_modules/ext/test/global-this/implementation.js
generated
vendored
Normal file
13
web/node_modules/ext/test/global-this/implementation.js
generated
vendored
Normal 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
10
web/node_modules/ext/test/global-this/index.js
generated
vendored
Normal 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); });
|
||||
});
|
8
web/node_modules/ext/test/global-this/is-implemented.js
generated
vendored
Normal file
8
web/node_modules/ext/test/global-this/is-implemented.js
generated
vendored
Normal 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"); });
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue