.
This commit is contained in:
		
							
								
								
									
										16
									
								
								qwen/nodejs/node_modules/@sinonjs/commons/lib/global.test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								qwen/nodejs/node_modules/@sinonjs/commons/lib/global.test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -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);
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
		Reference in New Issue
	
	Block a user