mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
spec updates
This commit is contained in:
parent
2eb6d1e71c
commit
a815c7d269
15 changed files with 823 additions and 255 deletions
|
|
@ -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' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue