Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions worker/test/routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10398,7 +10398,8 @@ describe("quiver public API v2 — scope resolution", () => {
delete: async () => undefined,
};

const realBatch = env.DB.batch.bind(env.DB);
const dbBeforeAdvisory = env.DB as unknown as D1Database;
const realBatch = dbBeforeAdvisory.batch.bind(dbBeforeAdvisory);
env.DB = {
...env.DB,
async batch(statements: any[]) {
Expand Down Expand Up @@ -10441,7 +10442,8 @@ describe("quiver public API v2 — scope resolution", () => {
});
env.APK_BUCKET = { head: async (key: string) => key === r2Key ? { size: 123 } : null, delete: async () => undefined };

const realBatch = env.DB.batch.bind(env.DB);
const dbBeforeAdvisory = env.DB as unknown as D1Database;
const realBatch = dbBeforeAdvisory.batch.bind(dbBeforeAdvisory);
env.DB = {
...env.DB,
async batch(statements: any[]) {
Expand Down
Loading