aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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' );
});