aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@sinonjs/commons/lib/global.test.js
blob: e49b3da1741bd58e97f2fbfa1f848e6b7101fe9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
    });
});