spec updates

This commit is contained in:
hakimel
2023-01-10 10:24:41 +01:00
parent 2eb6d1e71c
commit a815c7d269
15 changed files with 823 additions and 255 deletions

View File

@ -30,6 +30,10 @@
<script>
window.externalScriptSequence = '';
QUnit.config.testTimeout = 30000;
QUnit.config.autostart = false;
QUnit.module( 'Dependencies' );
Reveal.initialize({
dependencies: [
{ src: 'assets/external-script-a.js' },
@ -38,7 +42,7 @@
]
}).then( () => {
QUnit.module( 'Dependencies' );
QUnit.start();
QUnit.test( 'Load synchronous scripts', function( assert ) {
assert.strictEqual( window.externalScriptSequence, 'ABC', 'Loaded and executed in order' );