Skip to content

Commit

Permalink
chore: headless test
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Dec 27, 2024
1 parent 38d8ae5 commit 28c5c0a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
5 changes: 3 additions & 2 deletions electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
"scripts": {
"lint": "eslint . --ext \".js,.jsx,.ts,.tsx\"",
"test:e2e": "playwright test --workers=1",
"test:e2e": "xvfb-maybe -- playwright test --headed --workers=1",
"copy:assets": "rimraf --glob \"./pre-install/*.tgz\" && cpx \"../pre-install/*.tgz\" \"./pre-install\"",
"dev": "yarn copy:assets && tsc -p . && electron .",
"compile": "tsc -p .",
Expand Down Expand Up @@ -129,7 +129,8 @@
"eslint-plugin-react": "^7.34.0",
"rimraf": "^5.0.5",
"run-script-os": "^1.1.6",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"xvfb-maybe": "^0.2.1"
},
"installConfig": {
"hoistingLimits": "workspaces"
Expand Down
15 changes: 14 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12332,6 +12332,7 @@ __metadata:
run-script-os: "npm:^1.1.6"
typescript: "npm:^5.3.3"
ulidx: "npm:^2.3.0"
xvfb-maybe: "npm:^0.2.1"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -20309,7 +20310,7 @@ __metadata:
languageName: node
linkType: hard

"which@npm:^1.2.9":
"which@npm:^1.2.4, which@npm:^1.2.9":
version: 1.3.1
resolution: "which@npm:1.3.1"
dependencies:
Expand Down Expand Up @@ -20512,6 +20513,18 @@ __metadata:
languageName: node
linkType: hard

"xvfb-maybe@npm:^0.2.1":
version: 0.2.1
resolution: "xvfb-maybe@npm:0.2.1"
dependencies:
debug: "npm:^2.2.0"
which: "npm:^1.2.4"
bin:
xvfb-maybe: ./src/xvfb-maybe.js
checksum: 10c0/ade3f7ef7ab465607484f8d78214bb4db806dcda1b54f0eded504c696eea65586f0a1be43c1e922cf1d4aecef019015ca0cd69c72d24f83685f776b5ee4d7bca
languageName: node
linkType: hard

"xxhashjs@npm:~0.2.2":
version: 0.2.2
resolution: "xxhashjs@npm:0.2.2"
Expand Down

0 comments on commit 28c5c0a

Please sign in to comment.