fix(repo): add missing lsof package needed to kill ports

This commit is contained in:
Jack Hsu 2023-05-19 08:12:56 -04:00 committed by Victor Savkin
parent 3472897dad
commit c9cd67ea76
2 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -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) {