aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-05-27 15:34:12 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-05-27 15:34:12 +0200
commiteb026f79b4beb0a294626ec5d92f77e5c05b5130 (patch)
tree210d17cf6a799db92ea7ed62d13668ef1c0235be /test
parent5e4c5c33a976a943372d992d4c8a03d9f1cd5e94 (diff)
downloadfosdem-2021-minimalism-presentation-eb026f79b4beb0a294626ec5d92f77e5c05b5130.tar
fosdem-2021-minimalism-presentation-eb026f79b4beb0a294626ec5d92f77e5c05b5130.tar.gz
Reveal.configure() now works pre-initialization
Diffstat (limited to 'test')
-rw-r--r--test/test.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.html b/test/test.html
index a41495e..5edf2e2 100644
--- a/test/test.html
+++ b/test/test.html
@@ -81,6 +81,8 @@
<script>
window.location.hash = '';
+ Reveal.configure({maxScale: 1.11});
+
// These tests expect the DOM to contain a presentation
// with the following slide structure:
//
@@ -113,6 +115,10 @@
QUnit.module( 'API' );
+ QUnit.test( 'Reveal.configure before initialization', function( assert ) {
+ assert.strictEqual( Reveal.getConfig().maxScale, 1.11 );
+ });
+
QUnit.test( 'Reveal.isReady', function( assert ) {
assert.strictEqual( Reveal.isReady(), true, 'returns true' );
});