mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-30 15:05:15 -04:00
Update deps.
This commit is contained in:
parent
2008d0755c
commit
9b88cdeb9b
7 changed files with 12 additions and 18 deletions
|
@ -1,10 +1,6 @@
|
|||
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');
|
||||
assert.ok(global.window);
|
||||
assert.equal(global.window, global.window.window);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue