From dc16094551b1dc31a205b3b9d9a1d8ab01f6d7df Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Thu, 26 May 2022 15:46:31 +0100 Subject: [PATCH] refactor(tests): Move and rename prepare.js, blockly.mjs Since prepare.js and blockly.mjs are going to be needed for running all tests in uncompiled mode (not just the playgrounds), move them tests/. Further, rename prepare.js to bootstrap.js to better reflect its purpose. --- scripts/gulpfiles/config.js | 2 +- tests/{playgrounds => }/blockly.mjs | 0 tests/{playgrounds/prepare.js => bootstrap.js} | 0 tests/playground.html | 11 ++++++----- tests/playgrounds/advanced_playground.html | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) rename tests/{playgrounds => }/blockly.mjs (100%) rename tests/{playgrounds/prepare.js => bootstrap.js} (100%) diff --git a/scripts/gulpfiles/config.js b/scripts/gulpfiles/config.js index 9080866fa..af98fb579 100644 --- a/scripts/gulpfiles/config.js +++ b/scripts/gulpfiles/config.js @@ -20,7 +20,7 @@ var path = require('path'); // - tests/scripts/check_metadata.sh // - tests/scripts/update_metadata.sh // - blockly_uncompressed.js (for location of deps.js) -// - tests/playgrounds/prepare.js (for location of deps.js) +// - tests/bootstrap.js (for location of deps.js) // - tests/mocha/index.html (for location of deps.mocha.js) // Directory to write compiled output to. diff --git a/tests/playgrounds/blockly.mjs b/tests/blockly.mjs similarity index 100% rename from tests/playgrounds/blockly.mjs rename to tests/blockly.mjs diff --git a/tests/playgrounds/prepare.js b/tests/bootstrap.js similarity index 100% rename from tests/playgrounds/prepare.js rename to tests/bootstrap.js diff --git a/tests/playground.html b/tests/playground.html index 7a555392f..5443c1ecf 100644 --- a/tests/playground.html +++ b/tests/playground.html @@ -4,15 +4,16 @@ Blockly Playground - - + + +