diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-02-15 14:48:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 14:48:47 +0100 |
commit | 8c6d147e6ae40a1f92aba1aedc0d95ef437dd4ba (patch) | |
tree | fbb59c9a6b294fd242854480067ae50cfb61fba7 /cli/tests/integration_tests.rs | |
parent | 1afe6b48e0bfee44f37206eb0fc03ea6ae37ad4d (diff) |
chore: Reorganise workers tests (#9493)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 7c0df57b7..15da2359d 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2369,7 +2369,7 @@ console.log("finish"); .arg("--allow-net") .arg("--allow-read") .arg("--unstable") - .arg("workers_test.ts") + .arg("workers/test.ts") .spawn() .unwrap() .wait() @@ -2377,6 +2377,18 @@ console.log("finish"); assert!(status.success()); } + itest!(worker_error { + args: "run -A workers/worker_error.ts", + output: "workers/worker_error.ts.out", + exit_code: 1, + }); + + itest!(worker_nested_error { + args: "run -A workers/worker_nested_error.ts", + output: "workers/worker_nested_error.ts.out", + exit_code: 1, + }); + #[test] fn compiler_api() { let status = util::deno_cmd() @@ -2626,18 +2638,6 @@ console.log("finish"); http_server: true, }); - itest!(_073_worker_error { - args: "run -A 073_worker_error.ts", - output: "073_worker_error.ts.out", - exit_code: 1, - }); - - itest!(_074_worker_nested_error { - args: "run -A 074_worker_nested_error.ts", - output: "074_worker_nested_error.ts.out", - exit_code: 1, - }); - itest!(_075_import_local_query_hash { args: "run 075_import_local_query_hash.ts", output: "075_import_local_query_hash.ts.out", |