diff --git a/tests/bootstrap.js b/tests/bootstrap.js index fb185e1e2..4ccf7eb63 100644 --- a/tests/bootstrap.js +++ b/tests/bootstrap.js @@ -80,6 +80,11 @@ 'php_compressed.js', 'python_compressed.js', ], + + // Additional scripts to be loaded after Blockly is loaded, + // whether Blockly is loaded from compressed or uncompressed. + additionalScripts: [ + ], }; if (typeof window.BLOCKLY_BOOTSTRAP_OPTIONS === 'object') { Object.assign(options, window.BLOCKLY_BOOTSTRAP_OPTIONS); @@ -125,11 +130,21 @@ ' window.BlocklyMsg = window.Blockly.Msg;\n' + ' delete window.Blockly;\n' + '\n'); - const allRequires = options.requires.map(quote).join(); + const requiresString = options.requires.map(quote).join(); + const scriptsString = options.additionalScripts.map(quote).join(); document.write( '');