diff options
Diffstat (limited to 'node_modules/@sinonjs/commons/lib/global.test.js')
-rw-r--r-- | node_modules/@sinonjs/commons/lib/global.test.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/node_modules/@sinonjs/commons/lib/global.test.js b/node_modules/@sinonjs/commons/lib/global.test.js new file mode 100644 index 0000000..e49b3da --- /dev/null +++ b/node_modules/@sinonjs/commons/lib/global.test.js @@ -0,0 +1,16 @@ +"use strict"; + +var assert = require("@sinonjs/referee-sinon").assert; +var globalObject = require("./global"); + +describe("global", function() { + before(function() { + if (typeof global === "undefined") { + this.skip(); + } + }); + + it("is same as global", function() { + assert.same(globalObject, global); + }); +}); |