aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-markdown-external.js
diff options
context:
space:
mode:
authorMarvin Borner2019-04-01 20:16:24 +0200
committerMarvin Borner2019-04-01 20:16:24 +0200
commit83b56d1270cdb179b64a1be51f8c1e7fe586c35e (patch)
treeae40a84def05eb42c53305e0caa8c2a2440fce71 /test/test-markdown-external.js
parent0b3e7839ebf4ed8b6c180aca0abafa28c67aee6d (diff)
Added content
Diffstat (limited to 'test/test-markdown-external.js')
-rw-r--r--test/test-markdown-external.js26
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();