diff options
author | Marvin Borner | 2019-04-01 20:16:24 +0200 |
---|---|---|
committer | Marvin Borner | 2019-04-01 20:16:24 +0200 |
commit | 83b56d1270cdb179b64a1be51f8c1e7fe586c35e (patch) | |
tree | ae40a84def05eb42c53305e0caa8c2a2440fce71 /test/test-markdown-external.js | |
parent | 0b3e7839ebf4ed8b6c180aca0abafa28c67aee6d (diff) |
Added content
Diffstat (limited to 'test/test-markdown-external.js')
-rw-r--r-- | test/test-markdown-external.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/test-markdown-external.js b/test/test-markdown-external.js index f924986..e72de7a 100644 --- a/test/test-markdown-external.js +++ b/test/test-markdown-external.js @@ -1,20 +1,20 @@ -Reveal.addEventListener( 'ready', function() { +Reveal.addEventListener('ready', function () { - QUnit.module( 'Markdown' ); + QUnit.module('Markdown'); - QUnit.test( 'Vertical separator', function( assert ) { - assert.strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' ); - }); + QUnit.test('Vertical separator', function (assert) { + assert.strictEqual(document.querySelectorAll('.reveal .slides>section>section').length, 2, 'found two slides'); + }); - QUnit.test( 'Horizontal separator', function( assert ) { - assert.strictEqual( document.querySelectorAll( '.reveal .slides>section' ).length, 2, 'found two slides' ); - }); + QUnit.test('Horizontal separator', function (assert) { + assert.strictEqual(document.querySelectorAll('.reveal .slides>section').length, 2, 'found two slides'); + }); - QUnit.test( 'Language highlighter', function( assert ) { - assert.strictEqual( document.querySelectorAll( '.hljs-keyword' ).length, 1, 'got rendered highlight tag.' ); - assert.strictEqual( document.querySelector( '.hljs-keyword' ).innerHTML, 'var', 'the same keyword: var.' ); - }); + QUnit.test('Language highlighter', function (assert) { + assert.strictEqual(document.querySelectorAll('.hljs-keyword').length, 1, 'got rendered highlight tag.'); + assert.strictEqual(document.querySelector('.hljs-keyword').innerHTML, 'var', 'the same keyword: var.'); + }); -} ); +}); Reveal.initialize(); |