Skip to content

Commit

Permalink
tutorial: fix uptime test (#1697)
Browse files Browse the repository at this point in the history
fixes #1696
  • Loading branch information
fredr authored Jan 10, 2025
1 parent 78593ea commit b419f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ts/tutorials/uptime.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b419f8d

Please sign in to comment.