amis-rpc-design/node_modules/@sinonjs/commons/lib/global.test.js

17 lines
355 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
"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);
});
});