aboutsummaryrefslogtreecommitdiff
path: root/test/test-pdf.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-04-27 17:31:50 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-04-27 17:31:50 +0200
commit860580d4d0d10646b59a9b3663c0c1cc504bc1c2 (patch)
treee8aaa5ab5d02a7857038c0eacf80890e55103f5f /test/test-pdf.js
parent41e1e013b8c86683fd042e65bc3fc0f4e1655559 (diff)
downloadfosdem-2018-presentation-860580d4d0d10646b59a9b3663c0c1cc504bc1c2.tar
fosdem-2018-presentation-860580d4d0d10646b59a9b3663c0c1cc504bc1c2.tar.gz
getSlideBackground now works in pdf mode, add pdf tests
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 });
+