add test task, avoid attempt to run tests in unrelated html files
This commit is contained in:
1 parent
7f85c21386
commit
1c8fd60595
3 files changed
+7
-3
No files matched your search
+2
-1
@@ -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 );
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user