Skip to content

Commit

Permalink
Revert version of concurrently in dashboard-e2e
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Dec 29, 2023
1 parent 6668e4e commit 746c90c
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/dashboard-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@wdio/local-runner": "8.24.6",
"@wdio/mocha-framework": "8.24.6",
"@wdio/spec-reporter": "8.24.2",
"concurrently": "^8.2.2",
"concurrently": "^5.3.0",
"rmf-dashboard": "workspace:*",
"serve": "^14.2.1",
"ts-node": "^10.9.1",
Expand Down
13 changes: 4 additions & 9 deletions packages/dashboard-e2e/scripts/test-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,11 @@ const wdioArgs = process.argv
.map((arg) => `"${arg}"`)
.join(' ');

const { result } = concurrently([...services, `wdio ${wdioArgs}`], {
concurrently([...services, `wdio ${wdioArgs}`], {
killOthers: ['success', 'failure'],
successCondition: 'first',
prefix: 'none',
}).catch((e) => {
console.error(e);
process.exitCode = -1;
});

result.then(
() => {},
() => {
console.error('End-to-end test failed.');
process.exitCode = -1;
},
);
146 changes: 144 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 746c90c

Please sign in to comment.