split test into unit and integration

provide some dummy tests cases
This commit is contained in:
Anton Wilhelm 2019-02-20 21:37:02 +01:00
commit dac0bfec6c
6 changed files with 62 additions and 2 deletions

View file

@ -0,0 +1,13 @@
const path = require('path')
const {expect} = require('chai')
const {init, expectSameDom} = require('../_helper')
describe('full docsify initialization', function() {
it('TODO: check generated markup', async function() {
const {docsify, dom} = await init('simple', {loadSidebar: true})
console.log(dom.window.document.body.innerHTML)
})
})