diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-01 09:14:29 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-01 09:14:29 +0200 |
commit | 79f45c811e8037b711daf247d383eedbcef1c41b (patch) | |
tree | ac148cd4365866965d990cbab7285584917ae8f7 | |
parent | 9947b7a5324c9783de43f867c1f7a3ac0687144f (diff) | |
download | fosdem-2018-presentation-79f45c811e8037b711daf247d383eedbcef1c41b.tar fosdem-2018-presentation-79f45c811e8037b711daf247d383eedbcef1c41b.tar.gz |
test for #858
-rw-r--r-- | test/test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test.js b/test/test.js index 8e5697f..90a002a 100644 --- a/test/test.js +++ b/test/test.js @@ -81,6 +81,10 @@ Reveal.addEventListener( 'ready', function() { strictEqual( Reveal.isLastSlide(), false, 'false after Reveal.slide( 0, 0 )' ); }); + test( 'Reveal.getTotalSlides', function() { + strictEqual( Reveal.getTotalSlides(), 8, 'eight slides in total' ); + }); + test( 'Reveal.getIndices', function() { var indices = Reveal.getIndices(); |