Skip to content

Commit fbb71ad

Browse files
committed
chore: fix
1 parent 7c871b5 commit fbb71ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
parallel: true
100100
working-directory: e2e
101101
start: pnpm exec vite preview --host --port 7000
102-
wait-on: 'http://0.0.0.0:7000'
102+
wait-on: 'tcp:7000'
103103
wait-on-timeout: 120
104104
browser: chrome
105105
group: Milkdown-E2E-Chrome

e2e/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"setup": "pnpm serve --port $CYPRESS_SERVER_PORT --host",
1313
"test": "cypress run",
1414
"test:verbose": "cypress open",
15-
"start:test": "cross-env CYPRESS_SERVER_PORT=8000 start-test --expect 404 setup :8000 test",
16-
"start:test:verbose": "cross-env CYPRESS_SERVER_PORT=8000 start-test --expect 404 setup :8000 test:verbose"
15+
"start:test": "cross-env CYPRESS_SERVER_PORT=8000 start-test setup tcp:8000 test",
16+
"start:test:verbose": "cross-env CYPRESS_SERVER_PORT=8000 start-test setup tcp:8000 test:verbose"
1717
},
1818
"dependencies": {
1919
"@codemirror/basic-setup": "^0.20.0",

0 commit comments

Comments
 (0)