fix: update JetBrains binary test expected files (#11890)
fix: update binary test to expect rg instead of esbuild The build produces a ripgrep (rg) binary, not esbuild. Also guard against subprocess being undefined in afterAll when beforeAll fails.
This commit is contained in:
parent
d1d4ecb7b9
commit
e8d2c4e139
1 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ describe("Test Suite", () => {
|
|||
const binaryPath = path.join(binaryDir, `continue-binary${exe}`);
|
||||
const expectedItems = [
|
||||
`continue-binary${exe}`,
|
||||
`esbuild${exe}`,
|
||||
`rg${exe}`,
|
||||
"index.node",
|
||||
"package.json",
|
||||
"build/Release/node_sqlite3.node",
|
||||
|
|
@ -144,7 +144,7 @@ describe("Test Suite", () => {
|
|||
(
|
||||
messenger as CoreBinaryTcpMessenger<ToIdeProtocol, FromIdeProtocol>
|
||||
).close();
|
||||
} else {
|
||||
} else if (subprocess) {
|
||||
subprocess.kill();
|
||||
await new Promise((resolve) => subprocess.on("close", resolve));
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue