Skip to content

Commit

Permalink
update outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Jun 7, 2020
1 parent 41dc2c7 commit 31f1a64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/docsify.test.js
Expand Up @@ -55,7 +55,8 @@ describe('Docsify public API', () => {
const { documentReady } = require('../../src/core/util/dom');
await new Promise(resolve => documentReady(resolve, DOM.window.document));

// deprecated global API, still works for now, backwards comaptible
// If the script was built successfully for production, then it should load
// and the following APIs should be available:
expect(typeof DOM.window.Docsify).to.equal('object');
expect(typeof DOM.window.Docsify.util).to.equal('object');
expect(typeof DOM.window.Docsify.dom).to.equal('object');
Expand Down

0 comments on commit 31f1a64

Please sign in to comment.