Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 4230563

Browse files
authored
Add KVGateway tests, fix cacheTtl validation and last cursor (#416)
- Upgrade to `ava@5` - Port `KVNamespace` tests from Miniflare 2 - Only throw if `cacheTtl` is invalid, not just specified - Return `cursor: undefined` on the last page to match the behaviour of the Worker's runtime
1 parent 4d68d67 commit 4230563

File tree

7 files changed

+1658
-2994
lines changed

7 files changed

+1658
-2994
lines changed

ava.config.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ const rewritePaths = Object.fromEntries(
88
);
99

1010
export default {
11-
nonSemVerExperiments: {
12-
nextGenConfig: true,
13-
},
1411
files: ["packages/*/test/**/*.spec.ts"],
1512
timeout: "5m",
1613
nodeArguments: ["--no-warnings", "--experimental-vm-modules"],

0 commit comments

Comments
 (0)