Skip to content

Commit 2cf1be9

Browse files
authored
chore: test:browser failing on Windows (#456)
1 parent fc7c76c commit 2cf1be9

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"test:browser:update": "playwright test --update-snapshots",
3030
"test:nuxt": "vite test --project nuxt",
3131
"test:types": "nuxt prepare && vue-tsc -b --noEmit && pnpm --filter npmx-connector test:types",
32-
"test:unit": "vite test --project unit"
32+
"test:unit": "vite test --project unit",
33+
"start:playwright:webserver": "NODE_ENV=test pnpm build && pnpm preview --port 5678"
3334
},
3435
"dependencies": {
3536
"@atproto/lex": "0.0.13",

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig<ConfigOptions>({
1313
reporter: 'html',
1414
timeout: 120_000,
1515
webServer: {
16-
command: 'NODE_ENV=test pnpm build && pnpm preview --port 5678',
16+
command: 'pnpm start:playwright:webserver',
1717
url: baseURL,
1818
reuseExistingServer: false,
1919
timeout: 120_000,

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ patchedDependencies:
3333
'@jsr/deno__doc@0.189.1': patches/@jsr__deno__doc@0.189.1.patch
3434

3535
savePrefix: ''
36+
37+
shellEmulator: true

0 commit comments

Comments
 (0)