From 3f2ff199b39d39c5c0620dfcf9c17d35825e614f Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Tue, 4 Oct 2022 15:19:02 +0100 Subject: [PATCH] fix(build): Use build/msg/en.js instead of msg/messages.js in tests This has no direct effect but fixes a long-standing misdesign where we are testing against the input to, rather than the output of, the language file processing pipeline. --- tests/bootstrap.js | 2 +- tests/compile/index.html | 2 +- tests/generators/index.html | 2 +- tests/mocha/index.html | 2 +- tests/playground.html | 2 +- tests/playgrounds/advanced_playground.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/bootstrap.js b/tests/bootstrap.js index 0b27d8606..4dea776aa 100644 --- a/tests/bootstrap.js +++ b/tests/bootstrap.js @@ -96,7 +96,7 @@ // whether Blockly is loaded from compressed or uncompressed. // Paths relative to root. additionalScripts: [ - 'msg/messages.js', + 'build/msg/en.js', ], }; if (typeof window.BLOCKLY_BOOTSTRAP_OPTIONS === 'object') { diff --git a/tests/compile/index.html b/tests/compile/index.html index 97fb52031..0c6ea9988 100644 --- a/tests/compile/index.html +++ b/tests/compile/index.html @@ -4,7 +4,7 @@ Blockly: Advanced Compilation Test - +