aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-12-21 17:54:21 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-12-21 17:54:21 +0100
commita97d73167d4dc52738e01f5ca5f2de74902276b6 (patch)
treea89003aeb72003818b2caacc10d509c7b95d8be6 /test
parented4cdaf9e796fadbf2b4f2f5e9240ac56091fb73 (diff)
downloadperl-software-in-gnu-guix-a97d73167d4dc52738e01f5ca5f2de74902276b6.tar
perl-software-in-gnu-guix-a97d73167d4dc52738e01f5ca5f2de74902276b6.tar.gz
simplify how data-autoslide is picked up from fragments #766
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 93a4ae2..23c0aff 100644
--- a/test/test.js
+++ b/test/test.js
@@ -63,6 +63,10 @@ Reveal.addEventListener( 'ready', function() {
Reveal.configure({ autoSlide: 10000 });
strictEqual( Reveal.isAutoSliding(), true, 'true after starting' );
+ Reveal.toggleAutoSlide();
+ strictEqual( Reveal.isAutoSliding(), false, 'false after toggling' );
+ Reveal.toggleAutoSlide();
+
Reveal.configure({ autoSlide: 0 });
strictEqual( Reveal.isAutoSliding(), false, 'false after setting to 0' );
});