mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
test: join the admitted command after caller signal assertions
This commit is contained in:
1 parent
fc3f18b748
commit
fe1a5b1498
1 file changed
+3
-1
@@ -670,8 +670,9 @@ const registerSharedReverseEngineeringEdgeCasesPart8 = (): void => {
|
||||
);
|
||||
const service = new ReverseEngineeringService({ runOwned });
|
||||
|
||||
let running: ReturnType<typeof service.executeRizinCommand> | undefined;
|
||||
try {
|
||||
const running = service.executeRizinCommand(
|
||||
running = service.executeRizinCommand(
|
||||
{ path, command: "iI" },
|
||||
{ signal: controller.signal },
|
||||
);
|
||||
@@ -687,6 +688,7 @@ const registerSharedReverseEngineeringEdgeCasesPart8 = (): void => {
|
||||
});
|
||||
} finally {
|
||||
release?.();
|
||||
if (running !== undefined) await Promise.allSettled([running]);
|
||||
await service.close();
|
||||
await rm(directory, { recursive: true, force: true });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user