Skip to content

Commit

Permalink
test: use object destructuring pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
johanohly committed Nov 20, 2024
1 parent 722db22 commit 0265ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/fixtures/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const db = new Kysely<DB>({
});

export const test = base.extend<{ db: Kysely<DB> }>({
db: async (_, use) => {
db: async ({ page: _ }, use) => {
await use(db);
},
});

0 comments on commit 0265ab5

Please sign in to comment.