diff options
Diffstat (limited to 'test/test-markdown-options.js')
-rw-r--r-- | test/test-markdown-options.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/test-markdown-options.js b/test/test-markdown-options.js deleted file mode 100644 index ef61659..0000000 --- a/test/test-markdown-options.js +++ /dev/null @@ -1,27 +0,0 @@ -Reveal.addEventListener( 'ready', function() { - - QUnit.module( 'Markdown' ); - - QUnit.test( 'Options are set', function( assert ) { - assert.strictEqual( marked.defaults.smartypants, true ); - }); - - QUnit.test( 'Smart quotes are activated', function( assert ) { - var text = document.querySelector( '.reveal .slides>section>p' ).textContent; - - assert.strictEqual( /['"]/.test( text ), false ); - assert.strictEqual( /[“”‘’]/.test( text ), true ); - }); - -} ); - -Reveal.initialize({ - dependencies: [ - { src: '../plugin/markdown/marked.js' }, - // Test loading JS files with query strings - { src: '../plugin/markdown/markdown.js?query=string' }, - ], - markdown: { - smartypants: true - } -}); |