Skip to content

Commit 0baeb4a

Browse files
update worker-log fixture tests to accommodate cloudflare/workerd#5024
1 parent c088e05 commit 0baeb4a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

fixtures/worker-logs/tests/index.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ describe("'wrangler dev' correctly displays logs", () => {
7070
"X [ERROR] <<<<<this is an error>>>>>
7171
▲ [WARNING] <<<<<this is a warning>>>>>
7272
<<<<<this is a log>>>>>
73-
<<<<<this is a stderr message>>>>>
74-
<<<<<this is a stdout message>>>>>
75-
<<<<<this is an info message>>>>>"
73+
<<<<<this is an info message>>>>>
74+
stderr: <<<<<this is a stderr message>>>>>
75+
stdout: <<<<<this is a stdout message>>>>>"
7676
`);
7777
});
7878

@@ -82,9 +82,9 @@ describe("'wrangler dev' correctly displays logs", () => {
8282
"X [ERROR] <<<<<this is an error>>>>>
8383
▲ [WARNING] <<<<<this is a warning>>>>>
8484
<<<<<this is a log>>>>>
85-
<<<<<this is a stderr message>>>>>
86-
<<<<<this is a stdout message>>>>>
87-
<<<<<this is an info message>>>>>"
85+
<<<<<this is an info message>>>>>
86+
stderr: <<<<<this is a stderr message>>>>>
87+
stdout: <<<<<this is a stdout message>>>>>"
8888
`);
8989
});
9090

@@ -127,9 +127,9 @@ describe("'wrangler dev' correctly displays logs", () => {
127127
"▲ [WARNING] <<<<<this is a warning>>>>>",
128128
"<<<<<this is a debug message>>>>>",
129129
"<<<<<this is a log>>>>>",
130-
"<<<<<this is a stderr message>>>>>",
131-
"<<<<<this is a stdout message>>>>>",
132130
"<<<<<this is an info message>>>>>",
131+
"stderr: <<<<<this is a stderr message>>>>>",
132+
"stdout: <<<<<this is a stdout message>>>>>",
133133
]
134134
`
135135
);

0 commit comments

Comments
 (0)