From 16c71659f656fa9b44ed89348c3f72fed05beb0e Mon Sep 17 00:00:00 2001 From: Christopher Allen Date: Tue, 27 Sep 2022 12:34:17 +0100 Subject: [PATCH] chore(build): have tests use package target Have the tests just run the package target (with debug flags) since that runs the the build target automatically. --- tests/run_all_tests.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/run_all_tests.sh b/tests/run_all_tests.sh index 7823aa3fa..2f09dc7dd 100755 --- a/tests/run_all_tests.sh +++ b/tests/run_all_tests.sh @@ -56,7 +56,7 @@ fi # Run the full usual build process, checking to ensure there are no # closure compiler warnings / errors. -run_test_command "build-debug" "npm run build-debug" +run_test_command "build + package" "npm run package -- --verbose --debug" # Run renaming validation test. run_test_command "renamings" "tests/migration/validate-renamings.js" @@ -70,9 +70,6 @@ run_test_command "mocha" "node tests/mocha/run_mocha_tests_in_browser.js" # Run generator tests inside a browser and check the results. run_test_command "generators" "tests/scripts/run_generators.sh" -# Run the package build process, as Node tests depend on it. -run_test_command "package" "npm run package" - # Run Node tests. run_test_command "node" "./node_modules/.bin/mocha tests/node --config tests/node/.mocharc.js"