1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/cli/tests/testdata/lockfile/basic/main.bench.ts
David Sherret 5c505316b3
chore(tests): fix flaky test_no_lock (#18206)
The test output capturing is known to be flaky.

Closes #18199
2023-03-16 00:03:36 +09:00

8 lines
144 B
TypeScript

import { getValue } from "mod";
Deno.bench("bench", () => {
const testing = 1 + getValue();
if (testing !== 6) {
throw "FAIL";
}
});