chore(tests): Use freshly-build files in compressed mode.

Use the freshly-built build/*_compresssed.js files when bootstrapping
in compressed mode, rather than using the checked-in files in the
repository root.

This helps ensure that compressed and uncompressed mode will be
testing (as closely as possible) the same code.
This commit is contained in:
Christopher Allen
2022-06-14 23:27:09 +01:00
parent 9e69fa9491
commit de8d356838

14
tests/bootstrap.js vendored
View File

@@ -79,13 +79,13 @@
// List of scripts to load in compressed mode, instead of
// requires. Paths relative to root.
compressedScripts: [
'blockly_compressed.js',
'blocks_compressed.js',
'dart_compressed.js',
'javascript_compressed.js',
'lua_compressed.js',
'php_compressed.js',
'python_compressed.js',
'build/blockly_compressed.js',
'build/blocks_compressed.js',
'build/dart_compressed.js',
'build/javascript_compressed.js',
'build/lua_compressed.js',
'build/php_compressed.js',
'build/python_compressed.js',
],
// Additional scripts to be loaded after Blockly is loaded,