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.
This commit is contained in:
Christopher Allen
2022-09-27 12:34:17 +01:00
parent 41d1fe2e27
commit 16c71659f6

View File

@@ -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"