aboutsummaryrefslogtreecommitdiff
path: root/test/test-pdf.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-pdf.js')
-rw-r--r--test/test-pdf.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test-pdf.js b/test/test-pdf.js
new file mode 100644
index 0000000..8ec34fd
--- /dev/null
+++ b/test/test-pdf.js
@@ -0,0 +1,15 @@
+
+Reveal.addEventListener( 'ready', function() {
+
+ // Only one test for now, we're mainly ensuring that there
+ // are no execution errors when running PDF mode
+
+ test( 'Reveal.isReady', function() {
+ strictEqual( Reveal.isReady(), true, 'returns true' );
+ });
+
+
+} );
+
+Reveal.initialize({ pdf: true });
+