mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 03:09:50 +00:00
fix(e2e): restore Playwright empty object destructuring for fixture parameters
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user