summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/workers
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-09-14 12:21:57 -0400
committerGitHub <noreply@github.com>2023-09-14 16:21:57 +0000
commit54890ee98b9068af41214b86fb693135f0998a0a (patch)
tree9a64837d6ccfacafce6139f47c9cddb512de426d /cli/tests/testdata/workers
parent851f795001a9164572d02606587ddc5193bdfd2d (diff)
chore(tests): ability to pattern match unordered lines (#20488)
This adds the ability to pattern match unordered lines. For example, the downloading messages may appear in any order ``` [UNORDERED_START] Download https://localhost:4546/a.ts Download https://localhost:4546/b.ts [UNORDERED_END] Hello! ``` Additionally, I've made the pattern matching slightly more strict and the output better.
Diffstat (limited to 'cli/tests/testdata/workers')
-rw-r--r--cli/tests/testdata/workers/custom_inspect/main.out3
-rw-r--r--cli/tests/testdata/workers/error_worker_permissions_local.ts.out1
-rw-r--r--cli/tests/testdata/workers/error_worker_permissions_remote.ts.out1
3 files changed, 1 insertions, 4 deletions
diff --git a/cli/tests/testdata/workers/custom_inspect/main.out b/cli/tests/testdata/workers/custom_inspect/main.out
index b34300c40..40d9b88ad 100644
--- a/cli/tests/testdata/workers/custom_inspect/main.out
+++ b/cli/tests/testdata/workers/custom_inspect/main.out
@@ -1,2 +1 @@
-[WILDCARD]ReadableStream { locked: false }
-[WILDCARD]
+ReadableStream { locked: false }
diff --git a/cli/tests/testdata/workers/error_worker_permissions_local.ts.out b/cli/tests/testdata/workers/error_worker_permissions_local.ts.out
index e6404e8e3..cacc8ae38 100644
--- a/cli/tests/testdata/workers/error_worker_permissions_local.ts.out
+++ b/cli/tests/testdata/workers/error_worker_permissions_local.ts.out
@@ -1,3 +1,2 @@
-[WILDCARD]
error: Uncaught (in worker "") Requires read access to "[WILDCARD]worker_types.ts", run again with the --allow-read flag
[WILDCARD]
diff --git a/cli/tests/testdata/workers/error_worker_permissions_remote.ts.out b/cli/tests/testdata/workers/error_worker_permissions_remote.ts.out
index 74c7c3974..afecff0a8 100644
--- a/cli/tests/testdata/workers/error_worker_permissions_remote.ts.out
+++ b/cli/tests/testdata/workers/error_worker_permissions_remote.ts.out
@@ -1,3 +1,2 @@
-[WILDCARD]
error: Uncaught (in worker "") Requires net access to "localhost:4545", run again with the --allow-net flag
[WILDCARD]