h5ai-flpsite/test/tests/premisses.js
2016-07-02 02:40:34 +02:00

11 lines
268 B
JavaScript

const {test, assert} = require('scar');
test('window is global object', () => {
assert.equal(typeof global, 'object');
assert.equal(global, global.window);
});
test('document is global object', () => {
assert.equal(typeof global.document, 'object');
});