1Reveal.addEventListener( 'ready', function() { 2 3 // Only one test for now, we're mainly ensuring that there 4 // are no execution errors when running PDF mode 5 6 QUnit.test( 'Reveal.isReady', function( assert ) { 7 assert.strictEqual( Reveal.isReady(), true, 'returns true' ); 8 }); 9 10} ); 11 12Reveal.initialize({ pdf: true }); 13 14