aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-04-01 09:14:29 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-04-01 09:14:29 +0200
commit79f45c811e8037b711daf247d383eedbcef1c41b (patch)
treeac148cd4365866965d990cbab7285584917ae8f7 /test
parent9947b7a5324c9783de43f867c1f7a3ac0687144f (diff)
downloadperl-software-in-gnu-guix-79f45c811e8037b711daf247d383eedbcef1c41b.tar
perl-software-in-gnu-guix-79f45c811e8037b711daf247d383eedbcef1c41b.tar.gz
test for #858
Diffstat (limited to 'test')
-rw-r--r--test/test.js4
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();