Skip to content

Commit

Permalink
test: skip cloudflare-kv-http on node >= 18
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed May 24, 2023
1 parent 4591831 commit 33bc9c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/drivers/cloudflare-kv-http.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ const mockOptions: KVHTTPOptions = {
namespaceId: "namespace-id",
};

describe("drivers: cloudflare-kv-http", () => {
// TODO: Fix msw compatibility with Node 18
const isNode18 = parseInt(process.version.substring(1).split(".")[0]) >= 18;
describe.skipIf(isNode18)("drivers: cloudflare-kv-http", () => {
beforeAll(() => {
// Establish requests interception layer before all tests.
server.listen();
Expand Down

0 comments on commit 33bc9c0

Please sign in to comment.