In this video, we're going to learn how to launch the browser and also how to configure the jest with typescript.
Code:
https://github.com/ortoniKC/Playwright-TypeScript-Jest
Jest Conig in package.json
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
"scripts": {
"test": "jest"
},
Chapters:
0:00 Jest Config
1:15 What is chromium?
5:40 TS & Jest Config
10:40 Recap
#playwright #letcode
Join this channel to get access to perks:
https://www.youtube.com/channel/UCNcnqL0P17hISKlOxTjkJ0g/join
Download
0 formats
No download links available.
Playwright Jest Config & Launch Browser | Playwright - Part 2 | NatokHD