mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-09 05:16:06 +10:00
chore: added new linter config (#1028)
* chore: added new linter config * chore: linting fixes * chore: refactore in linting config and minor linting fixes
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const { init } = require('../_helper')
|
||||
// const { init } = require('../_helper');
|
||||
|
||||
describe('full docsify initialization', function () {
|
||||
it('TODO: check generated markup', async function () {
|
||||
const { dom } = await init('simple', { loadSidebar: true })
|
||||
console.log(dom.window.document.body.innerHTML)
|
||||
describe('full docsify initialization', function() {
|
||||
it('TODO: check generated markup', async function() {
|
||||
// const { dom } = await init('simple', { loadSidebar: true });
|
||||
// console.log(dom.window.document.body.innerHTML);
|
||||
// TODO: add some expectations
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
const { init } = require('../_helper')
|
||||
const { init } = require('../_helper');
|
||||
|
||||
describe('router', function () {
|
||||
it('TODO: trigger to load another page', async function () {
|
||||
await init()
|
||||
window.location = '/?foo=bar'
|
||||
describe('router', function() {
|
||||
it('TODO: trigger to load another page', async function() {
|
||||
await init();
|
||||
window.location = '/?foo=bar';
|
||||
// TODO: add some expectations
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user