From: Hakim El Hattab Date: Tue, 27 Aug 2013 13:25:02 +0000 (-0400) Subject: prep markdown test suite X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bba5a5d69ca1030bf065cdd196030ae87b31487e;p=reveal.js.git prep markdown test suite --- diff --git a/test/test-markdown.html b/test/test-markdown.html new file mode 100644 index 0000000..c89af30 --- /dev/null +++ b/test/test-markdown.html @@ -0,0 +1,52 @@ + + + + + + + reveal.js - Test Markdown + + + + + + + +
+
+ + + + + + + + + + + + + diff --git a/test/test-markdown.js b/test/test-markdown.js new file mode 100644 index 0000000..d2bbba8 --- /dev/null +++ b/test/test-markdown.js @@ -0,0 +1,15 @@ + + +Reveal.addEventListener( 'ready', function() { + + QUnit.module( 'Markdown' ); + + test( 'Vertical separator', function() { + strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' ); + }); + + +} ); + +Reveal.initialize(); +