From b419f8df735726d7b32c430fdb47cdba354299a0 Mon Sep 17 00:00:00 2001 From: Fredrik Enestad Date: Fri, 10 Jan 2025 13:40:22 +0100 Subject: [PATCH] tutorial: fix uptime test (#1697) fixes #1696 --- docs/ts/tutorials/uptime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ts/tutorials/uptime.md b/docs/ts/tutorials/uptime.md index 81771f2a9d..53f14e1754 100644 --- a/docs/ts/tutorials/uptime.md +++ b/docs/ts/tutorials/uptime.md @@ -144,7 +144,7 @@ describe("ping", () => { // Invalid URLs should be considered down. { site: "invalid://scheme", expected: false }, ])( - `should verify that $site is ${expected ? "up" : "down"}`, + `should verify that $site is ${"$expected" ? "up" : "down"}`, async ({ site, expected }) => { const resp = await ping({ url: site }); expect(resp.up).toBe(expected);