Skip to content

Commit

Permalink
test(portable-text-editor): update test server start script for vite 3
Browse files Browse the repository at this point in the history
  • Loading branch information
skogsmaskin committed Aug 11, 2022
1 parent 10167b2 commit 6a485e6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ const testFolderPath = path.resolve(__dirname, '..')
module.exports = async function globalSetup() {
await setupDevServer([
{
command: `vite ${testFolderPath}/web-server`,
command: `vite --port 3000 ${testFolderPath}/web-server`,
launchTimeout: 10000,
port: 3000,
},
{
command: `node -r esbuild-register ${testFolderPath}/ws-server`,
launchTimeout: 10000,
port: 3001,
debug: true,
},
])
}

0 comments on commit 6a485e6

Please sign in to comment.