Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Aug 22, 2022
1 parent 857e692 commit d6c968c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions code/lib/cli/src/js-package-manager/Yarn1Proxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ describe('Yarn 1 Proxy', () => {

yarn1Proxy.setRegistryURL('https://foo.bar');

expect(executeCommandSpy).toHaveBeenCalledWith('yarn', [
expect(executeCommandSpy).toHaveBeenCalledWith('npm', [
'config',
'set',
'npmRegistryServer',
'registry',
'https://foo.bar',
]);
});
Expand Down
4 changes: 2 additions & 2 deletions code/lib/cli/src/js-package-manager/Yarn2Proxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ describe('Yarn 2 Proxy', () => {

yarn2Proxy.setRegistryURL('https://foo.bar');

expect(executeCommandSpy).toHaveBeenCalledWith('yarn', [
expect(executeCommandSpy).toHaveBeenCalledWith('npm', [
'config',
'set',
'npmRegistryServer',
'registry',
'https://foo.bar',
]);
});
Expand Down

0 comments on commit d6c968c

Please sign in to comment.