refactor unit tests, now consistently initializing reveal.js in the same way

This commit is contained in:
Hakim El Hattab
2020-03-07 18:19:08 +01:00
parent 20b8def298
commit 0814176f3c
22 changed files with 214 additions and 244 deletions

View File

@@ -7,7 +7,7 @@
// 3 - Two fragments with same data-fragment-index
// 4
Reveal.addEventListener( 'ready', function() {
Reveal.initialize().then( function() {
// ---------------------------------------------------------------
// DOM TESTS
@@ -610,5 +610,3 @@ Reveal.addEventListener( 'ready', function() {
});
} );
Reveal.initialize();