From 3c24eebc1fe78576b29cf21040e59531e48142eb Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Mon, 3 Oct 2022 17:30:56 +0100 Subject: [PATCH] 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). --- tests/bootstrap.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/bootstrap.js b/tests/bootstrap.js index 9fe73d7f0..0b27d8606 100644 --- a/tests/bootstrap.js +++ b/tests/bootstrap.js @@ -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,