From de8d3568381d9ede9d6014e1e431535b3e008987 Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Tue, 14 Jun 2022 23:27:09 +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. --- tests/bootstrap.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/bootstrap.js b/tests/bootstrap.js index 6dc537c44..0d3970778 100644 --- a/tests/bootstrap.js +++ b/tests/bootstrap.js @@ -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,