summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-05-11 18:05:54 -0400
committerGitHub <noreply@github.com>2022-05-11 18:05:54 -0400
commite6142fafbabd9f39882ef17ed7e353d7b80927e2 (patch)
tree025b8d164c2a27c0e03422bf0aadca61e6a9070d
parente6d8775611c950d42f87339dea36f6b241707050 (diff)
chore: fix flaky integration::test::pass test (#14571)
-rw-r--r--cli/tests/testdata/test/pass.out5
-rw-r--r--cli/tests/testdata/test/pass.ts5
2 files changed, 7 insertions, 3 deletions
diff --git a/cli/tests/testdata/test/pass.out b/cli/tests/testdata/test/pass.out
index f91286d2d..2329bd284 100644
--- a/cli/tests/testdata/test/pass.out
+++ b/cli/tests/testdata/test/pass.out
@@ -8,10 +8,13 @@ test 4 ... ok ([WILDCARD])
test 5 ... ok ([WILDCARD])
test 6 ... ok ([WILDCARD])
test 7 ... ok ([WILDCARD])
+test 8 ...
+------- output -------
+console.log
+----- output end -----
test 8 ... ok ([WILDCARD])
test 9 ...
------- output -------
-console.log
console.error
----- output end -----
test 9 ... ok ([WILDCARD])
diff --git a/cli/tests/testdata/test/pass.ts b/cli/tests/testdata/test/pass.ts
index b41f58e45..f72123584 100644
--- a/cli/tests/testdata/test/pass.ts
+++ b/cli/tests/testdata/test/pass.ts
@@ -6,8 +6,9 @@ Deno.test("test 4", () => {});
Deno.test("test 5", () => {});
Deno.test("test 6", () => {});
Deno.test("test 7", () => {});
-Deno.test("test 8", () => {});
-Deno.test("test 9", () => {
+Deno.test("test 8", () => {
console.log("console.log");
+});
+Deno.test("test 9", () => {
console.error("console.error");
});