mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
17 lines
352 B
JavaScript
17 lines
352 B
JavaScript
|
"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);
|
||
|
});
|
||
|
});
|