diff --git a/test/node/showdown.js b/test/node/showdown.js index b737275..abaebaa 100644 --- a/test/node/showdown.js +++ b/test/node/showdown.js @@ -14,6 +14,17 @@ describe('showdown.options', function () { expect(showdown.getOption('foo')).to.be.undefined(); }); }); + + describe('getDefaultOptions()', function () { + it('should get default options', function () { + var opts = { + omitExtraWLInCodeBlocks: false, + prefixHeaderId: false, + noHeaderId: false + }; + expect(showdown.getDefaultOptions()).to.be.eql(opts); + }); + }); }); describe('showdown.extension()', function () {