mirror of
https://github.com/google/blockly.git
synced 2026-01-14 20:37:10 +01:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user