From f9d076663746ab29410e9c141a7b9e927e4eb5df Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Mon, 22 Jan 2018 22:35:15 +0800 Subject: Update QUnit to 2.5.0 and `grunt-contrib-qunit` to 2.0.0. --- test/test-pdf.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/test-pdf.js') 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 }); - -- cgit v1.2.3