mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-09-03 03:33:30 +02:00
getSlideBackground now works in pdf mode, add pdf tests
This commit is contained in:
15
test/test-pdf.js
Normal file
15
test/test-pdf.js
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
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' );
|
||||
});
|
||||
|
||||
|
||||
} );
|
||||
|
||||
Reveal.initialize({ pdf: true });
|
||||
|
Reference in New Issue
Block a user