We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce561d commit f7d73a4Copy full SHA for f7d73a4
integration/cloudflare-worker/index.test.js
@@ -23,6 +23,6 @@ test("worker streams back a response", { timeout: 1000 }, async (t) => {
23
const resp = await worker.fetch("/", { signal: t.signal });
24
const text = await resp.text();
25
26
- assert.equal(resp.ok, true, "status is 2xx");
+ assert.ok(resp.ok, "status is 2xx");
27
assert(text.length > 0, "body.length is greater than 0");
28
});
0 commit comments