aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/log-test.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/log-test.test.ts')
-rw-r--r--test/bun.js/log-test.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bun.js/log-test.test.ts b/test/bun.js/log-test.test.ts
index bdb6cbe42..272dc7ef2 100644
--- a/test/bun.js/log-test.test.ts
+++ b/test/bun.js/log-test.test.ts
@@ -14,7 +14,7 @@ it("should not log .env when quiet", async () => {
cwd: "/tmp/log-test-silent",
});
- expect(stderr.toString()).toBe("");
+ expect(stderr!.toString()).toBe("");
});
it("should log .env by default", async () => {
@@ -29,7 +29,7 @@ it("should log .env by default", async () => {
cwd: "/tmp/log-test-silent",
});
- expect(stderr.toString().includes(".env")).toBe(true);
+ expect(stderr?.toString().includes(".env")).toBe(true);
});
function writeDirectoryTree(base, paths) {