Skip to content

Commit 1862c54

Browse files
committed
feat: add jest-playwright and packages
1 parent 3784c04 commit 1862c54

File tree

3 files changed

+581
-14
lines changed

3 files changed

+581
-14
lines changed

test/jest.e2e.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import type { Config } from "@jest/types"
33

44
const config: Config.InitialOptions = {
5+
preset: "jest-playwright-preset",
56
transform: {
67
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest",
78
},

test/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,11 @@
1212
"playwright": "^1.8.0",
1313
"supertest": "^6.1.1",
1414
"ts-jest": "^26.4.4"
15+
},
16+
"dependencies": {
17+
"jest-playwright-preset": "^1.5.1",
18+
"playwright-chromium": "^1.10.0",
19+
"playwright-firefox": "^1.10.0",
20+
"playwright-webkit": "^1.10.0"
1521
}
1622
}

0 commit comments

Comments
 (0)