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.

Obsoletes #6218 (though the issues discussed there have not actually
yet been addressed in this branch).
This commit is contained in:
Christopher Allen
2022-10-03 17:30:56 +01:00
parent 4d150ff8d7
commit 3c24eebc1f

14
tests/bootstrap.js vendored
View File

@@ -83,13 +83,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',
'dist/blockly_compressed.js',
'dist/blocks_compressed.js',
'dist/dart_compressed.js',
'dist/javascript_compressed.js',
'dist/lua_compressed.js',
'dist/php_compressed.js',
'dist/python_compressed.js',
],
// Additional scripts to be loaded after Blockly is loaded,