Skip to content

Commit b9bed1b

Browse files
committed
feat: switch to playwright-core to avoid browser download
1 parent 2b28658 commit b9bed1b

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

lib/testWithPlaywright.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const execa = require('execa')
22
const merge = require('lodash.merge')
3-
const { _electron: electron } = require('playwright')
3+
const { _electron: electron } = require('playwright-core')
44

55
module.exports = (options = {}) =>
66
new Promise((resolve, reject) => {

package-lock.json

Lines changed: 1 addition & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"execa": "^5.0.0",
3535
"fs-extra": "^10.0.0",
3636
"lodash.merge": "^4.6.1",
37-
"playwright": "^1.17.1",
37+
"playwright-core": "^1.17.1",
3838
"portfinder": "^1.0.16",
3939
"shebang-loader": "^0.0.1",
4040
"terser-webpack-plugin": "^5.3.0",

0 commit comments

Comments
 (0)