Update QUnit to 2.5.0 and grunt-contrib-qunit to 2.0.0.

This commit is contained in:
Benjamin Tan
2018-01-22 22:35:15 +08:00
parent f0fa6fb226
commit f9d0766637
19 changed files with 5887 additions and 2738 deletions

View File

@@ -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 });