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:
Anix
2020-02-20 14:01:04 +05:30
committed by GitHub
parent a111df9980
commit 75c72e917b
61 changed files with 2556 additions and 1764 deletions
+7 -7
View File
@@ -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
})
})
});
});
+7 -7
View File
@@ -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
})
})
});
});