We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41dc2c7 commit 31f1a64Copy full SHA for 31f1a64
test/unit/docsify.test.js
@@ -55,7 +55,8 @@ describe('Docsify public API', () => {
55
const { documentReady } = require('../../src/core/util/dom');
56
await new Promise(resolve => documentReady(resolve, DOM.window.document));
57
58
- // deprecated global API, still works for now, backwards comaptible
+ // If the script was built successfully for production, then it should load
59
+ // and the following APIs should be available:
60
expect(typeof DOM.window.Docsify).to.equal('object');
61
expect(typeof DOM.window.Docsify.util).to.equal('object');
62
expect(typeof DOM.window.Docsify.dom).to.equal('object');
0 commit comments