Skip to content

Commit 15fd192

Browse files
committed
attach database file to test artifacts
1 parent dfe499e commit 15fd192

File tree

1 file changed

+2
-0
lines changed
  • exercises/02.authentication/04.solution.third-party-providers/tests

1 file changed

+2
-0
lines changed

exercises/02.authentication/04.solution.third-party-providers/tests/test-extend.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ export const test = testBase.extend<Fixtures>({
8080
async databasePath({}, use, testInfo) {
8181
const databasePath = `./test-${testInfo.testId}.db`
8282
await use(databasePath)
83+
84+
await testInfo.attach(databasePath, { path: databasePath })
8385
},
8486
async prisma({ databasePath }, use) {
8587
const prisma = new PrismaClient({

0 commit comments

Comments
 (0)