From bba5a5d69ca1030bf065cdd196030ae87b31487e Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 27 Aug 2013 09:25:02 -0400 Subject: [PATCH] prep markdown test suite --- test/test-markdown.html | 52 +++++++++++++++++++++++++++++++++++++++++ test/test-markdown.js | 15 ++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 test/test-markdown.html create mode 100644 test/test-markdown.js diff --git a/test/test-markdown.html b/test/test-markdown.html new file mode 100644 index 00000000..c89af30d --- /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 00000000..d2bbba86 --- /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(); +