Skip to content

Commit

Permalink
Fix tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
D4N14L committed Dec 7, 2023
1 parent 99be4e3 commit cad5ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/node-core-library/src/test/Executable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ describe('Executable process tests', () => {
expect(Buffer.isBuffer(result.stderr)).toEqual(true);
expect(
result.stdout.toString('utf8').startsWith('Executing npm-binary-wrapper.cmd with args:\r\n"1 2 3"')
).toBe(true);
).toEqual(true);
expect(result.stderr.toString('utf8')).toEqual('');
});

Expand Down Expand Up @@ -288,7 +288,7 @@ describe('Executable process tests', () => {
expect(result.exitCode).toEqual(1);
expect(typeof result.stdout).toEqual('string');
expect(typeof result.stderr).toEqual('string');
expect(result.stdout.startsWith('Executing npm-binary-wrapper.cmd with args:')).toBe(true);
expect(result.stdout.startsWith('Executing npm-binary-wrapper.cmd with args:')).toEqual(true);
expect(result.stderr.endsWith('This is a failure'));
});

Expand Down

0 comments on commit cad5ac9

Please sign in to comment.