From 5c505316b3205f7e354baff35839f522846143c2 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 15 Mar 2023 11:03:36 -0400 Subject: chore(tests): fix flaky test_no_lock (#18206) The test output capturing is known to be flaky. Closes #18199 --- cli/tests/testdata/lockfile/basic/main.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tests/testdata/lockfile/basic/main.test.ts') diff --git a/cli/tests/testdata/lockfile/basic/main.test.ts b/cli/tests/testdata/lockfile/basic/main.test.ts index bb757de23..fe45c799d 100644 --- a/cli/tests/testdata/lockfile/basic/main.test.ts +++ b/cli/tests/testdata/lockfile/basic/main.test.ts @@ -1,8 +1,8 @@ -import "./main.ts"; +import { getValue } from "mod"; Deno.test("test", () => { - const testing = 1 + 2; - if (testing !== 3) { + const testing = 1 + getValue(); + if (testing !== 6) { throw "FAIL"; } }); -- cgit v1.2.3