mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
getSlideBackground now works in pdf mode, add pdf tests
This commit is contained in:
parent
41e1e013b8
commit
860580d4d0
4 changed files with 108 additions and 2 deletions
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 });
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue