Skip to content

Commit

Permalink
build: update package.json scripts to allow specifying test targets s…
Browse files Browse the repository at this point in the history
…uch as `yarn test internal/...`
  • Loading branch information
gregmagolan authored and alexeagle committed Nov 21, 2019
1 parent a100420 commit 5cd4848
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@
"zone.js": "0.8.29"
},
"scripts": {
"test": "bazel test ... --test_tag_filters=-e2e,-examples,-no-local,-manual",
"test_windows": "bazel test ... --test_tag_filters=-e2e,-examples,-fix-windows,-no-local,-manual",
"test_e2e": "bazel --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1280m test --test_tag_filters=e2e --local_resources=792,1.0,1.0 --test_arg=--local_resources=13288,1.0,1.0 ...",
"test_examples": "bazel --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1280m test --test_tag_filters=examples --local_resources=792,1.0,1.0 --test_arg=--local_resources=13288,1.0,1.0 ...",
"test": "bazel test --test_tag_filters=-e2e,-examples,-no-local,-manual",
"test_windows": "bazel test --test_tag_filters=-e2e,-examples,-fix-windows,-no-local,-manual",
"test_e2e": "bazel --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1280m test --test_tag_filters=e2e --local_resources=792,1.0,1.0 --test_arg=--local_resources=13288,1.0,1.0",
"test_examples": "bazel --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1280m test --test_tag_filters=examples --local_resources=792,1.0,1.0 --test_arg=--local_resources=13288,1.0,1.0",
"run_integration_test": "bazel --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1280m run --local_resources=792,1.0,1.0 --test_arg=--local_resources=13288,1.0,1.0",
"run_integration_test_debug": "yarn run_integration_test --compilation_mode=dbg",
"test_all": "./scripts/test_all.sh",
Expand Down

0 comments on commit 5cd4848

Please sign in to comment.