Skip to content

Commit f7d73a4

Browse files
aronmattt
andauthored
Update integration/cloudflare-worker/index.test.js
Co-authored-by: Mattt <[email protected]>
1 parent 0ce561d commit f7d73a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/cloudflare-worker/index.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ test("worker streams back a response", { timeout: 1000 }, async (t) => {
2323
const resp = await worker.fetch("/", { signal: t.signal });
2424
const text = await resp.text();
2525

26-
assert.equal(resp.ok, true, "status is 2xx");
26+
assert.ok(resp.ok, "status is 2xx");
2727
assert(text.length > 0, "body.length is greater than 0");
2828
});

0 commit comments

Comments
 (0)