Skip to content

Commit e0cc379

Browse files
test: fix
1 parent 22fbde9 commit e0cc379

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/logging.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ describe.each(scenarios)("logging $name", ({ args }) => {
898898
done(error);
899899
});
900900

901-
proc.on("exit", () => {
901+
proc.on("close", () => {
902902
expect(extractErrorEntry(stderr)).toMatch("Error: EACCES");
903903

904904
fs.chmodSync(outputDir, 0o700);

0 commit comments

Comments
 (0)