Skip to content

Commit

Permalink
Drat, test still broken on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Sep 23, 2023
1 parent 4fba107 commit 1751d16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/command.executableSubcommand.signals.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ describeOrSkipOnWindows('signals', () => {
const { status } = childProcess.spawnSync(pmPath, ['exit-override', 'terminate'], {});
expect(status).toBeGreaterThan(0);
});
});

// Not a signal test, but closely related code so adding here.
test('when command has exitOverride and executable subcommand fails then program exit code is subcommand exit code', () => {
const { status } = childProcess.spawnSync(pmPath, ['exit-override', 'fail'], {});
expect(status).toEqual(42);
// Not a signal test, but closely related code so adding here.
test('when command has exitOverride and executable subcommand fails then program exit code is subcommand exit code', () => {
const { status } = childProcess.spawnSync(pmPath, ['exit-override', 'fail'], {});
expect(status).toEqual(42);
});
});

0 comments on commit 1751d16

Please sign in to comment.