fix(e2e): restore Playwright empty object destructuring for fixture parameters

This commit is contained in:
yiling
2026-07-10 16:21:09 +08:00
parent 0aba2ee557
commit 515c491d5d
+2 -1
View File
@@ -24,7 +24,8 @@ if (fs.existsSync(envPath)) {
export const test = base.extend<{ prisma: PrismaClient }>({
prisma: [
async (_, use) => {
// eslint-disable-next-line no-empty-pattern
async ({}, use) => {
const connectionString = process.env.DATABASE_URL
const pool = new Pool({ connectionString })
const adapter = new PrismaPg(pool)