aboutsummaryrefslogtreecommitdiff
path: root/test/test-markdown.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-markdown.js')
-rw-r--r--test/test-markdown.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test-markdown.js b/test/test-markdown.js
index d2bbba8..5ea8bf2 100644
--- a/test/test-markdown.js
+++ b/test/test-markdown.js
@@ -1,15 +1,11 @@
-
-
Reveal.addEventListener( 'ready', function() {
QUnit.module( 'Markdown' );
- test( 'Vertical separator', function() {
- 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' );
});
-
} );
Reveal.initialize();
-