fix(repo): add missing lsof package needed to kill ports
This commit is contained in:
parent
3472897dad
commit
c9cd67ea76
@ -90,7 +90,9 @@ commands:
|
||||
equal: [<< parameters.os >>, linux]
|
||||
steps:
|
||||
- run:
|
||||
command: sudo apt-get install -y ca-certificates
|
||||
command: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ca-certificates lsof
|
||||
- browser-tools/install-chrome
|
||||
- browser-tools/install-chromedriver
|
||||
- node/install:
|
||||
|
||||
@ -46,7 +46,7 @@ export async function checkApp(
|
||||
`e2e ${appName}-e2e --no-watch --configuration=production --port=9000`
|
||||
);
|
||||
expect(e2eResults).toContain('All specs passed!');
|
||||
await killPort(9000);
|
||||
expect(await killPort(9000)).toBeTruthy();
|
||||
}
|
||||
|
||||
if (opts.checkExport) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user