mirror of
https://github.com/lrsjng/pagemap.git
synced 2025-08-07 21:56:26 +02:00
Update.
This commit is contained in:
12
test/index.js
Normal file
12
test/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
if (!global.window) {
|
||||
global.window = new (require('jsdom')).JSDOM().window;
|
||||
}
|
||||
|
||||
const {test, assert} = require('scar');
|
||||
const pagemap = require('../src/pagemap');
|
||||
|
||||
test('access', () => {
|
||||
assert.equal(typeof pagemap, 'function');
|
||||
});
|
||||
|
||||
test.cli();
|
Reference in New Issue
Block a user