Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
D4N14L committed Dec 7, 2023
1 parent 0105bf7 commit 99be4e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/node-core-library/src/test/Executable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ describe('Executable process tests', () => {
encoding: 'buffer'
});
expect(result.exitCode).toEqual(0);
expect(Buffer.isBuffer(result.stdout)).toBe(true);
expect(Buffer.isBuffer(result.stderr)).toBe(true);
expect(Buffer.isBuffer(result.stdout)).toEqual(true);
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);
Expand All @@ -271,7 +271,7 @@ describe('Executable process tests', () => {
expect(result.exitCode).toEqual(0);
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).toEqual('');
});

Expand Down

0 comments on commit 99be4e3

Please sign in to comment.