github.com/sentienttechnologies/studio-go-runner@v0.0.0-20201118202441-6d21f2ced8ee/docs/slides/test/test-pdf.js (about) 1 2 Reveal.addEventListener( 'ready', function() { 3 4 // Only one test for now, we're mainly ensuring that there 5 // are no execution errors when running PDF mode 6 7 test( 'Reveal.isReady', function() { 8 strictEqual( Reveal.isReady(), true, 'returns true' ); 9 }); 10 11 12 } ); 13 14 Reveal.initialize({ pdf: true }); 15