aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-08-24 10:52:35 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-08-24 10:52:35 -0400
commit1c8fd60595134b8501fa1b4d07dcc11d6ec65d8c (patch)
treef9ad3aa4d3b1dc8b89165fc0c6aeca7c76cbdb9a /test
parent7f85c2138603d5c869c3c9a3713bfa0b1e7a08f8 (diff)
downloadfosdem-2018-presentation-1c8fd60595134b8501fa1b4d07dcc11d6ec65d8c.tar
fosdem-2018-presentation-1c8fd60595134b8501fa1b4d07dcc11d6ec65d8c.tar.gz
add test task, avoid attempt to run tests in unrelated html files
Diffstat (limited to 'test')
-rw-r--r--test/test.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.js b/test/test.js
index 08c5c37..00c9622 100644
--- a/test/test.js
+++ b/test/test.js
@@ -206,7 +206,6 @@ Reveal.addEventListener( 'ready', function() {
asyncTest( 'fragmentshown event', function() {
expect( 2 );
- start();
var _onEvent = function( event ) {
ok( true, 'event fired' );
@@ -221,6 +220,8 @@ Reveal.addEventListener( 'ready', function() {
Reveal.next();
Reveal.prev(); // shouldn't fire fragmentshown
+ start();
+
Reveal.removeEventListener( 'fragmentshown', _onEvent );
});