mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 06:46:36 +02:00
Update deps.
This commit is contained in:
@@ -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>
|
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user