1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-08 06:46:36 +02:00

Update deps.

This commit is contained in:
Lars Jung
2016-07-21 13:44:31 +02:00
parent 2008d0755c
commit 9b88cdeb9b
7 changed files with 12 additions and 18 deletions

View File

@@ -6,6 +6,6 @@
<link rel="stylesheet" href="h5ai-styles.css">
</head>
<body>
<script src="tests.js"></script>
<script src="index.js"></script>
</body>
</html>

View File

@@ -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);
});