summaryrefslogtreecommitdiffhomepage
path: root/test/test-pdf.js
diff options
context:
space:
mode:
authorHakim El Hattab2018-08-01 10:34:55 +0200
committerHakim El Hattab2018-08-01 10:34:55 +0200
commitb6aa0cac2392d69c93bda583c88cb6c4fd82b095 (patch)
tree4adab8ecbbce1db6a785700503d142dbad04c735 /test/test-pdf.js
parentf6f7f58537c21435c4e2ffe8b538216eeac16ae4 (diff)
parentb9bb353a11bb7bcd1f79a40a80e0d5dfcca05591 (diff)
Merge branch 'dev' of github.com:hakimel/reveal.js
Diffstat (limited to 'test/test-pdf.js')
-rw-r--r--test/test-pdf.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test-pdf.js b/test/test-pdf.js
index 8ec34fd..1ebf997 100644
--- a/test/test-pdf.js
+++ b/test/test-pdf.js
@@ -1,15 +1,12 @@
-
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' );
+ QUnit.test( 'Reveal.isReady', function( assert ) {
+ assert.strictEqual( Reveal.isReady(), true, 'returns true' );
});
-
} );
Reveal.initialize({ pdf: true });
-