From 79f45c811e8037b711daf247d383eedbcef1c41b Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 1 Apr 2014 09:14:29 +0200 Subject: [PATCH] test for #858 --- test/test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test.js b/test/test.js index 8e5697fc..90a002a4 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();