Skip to content

Commit

Permalink
fix(js): fix faulty e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Jan 17, 2023
1 parent f5cc240 commit 6b5be0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e/js/src/js-tsc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,10 @@ describe('package.json updates', () => {
runCLI(`build ${lib}`);

// Check that only 'react' exists, don't care about version
expect(readJson(`dist/libs/${lib}/package.json`).dependencies).toEqual({});
expect(readJson(`dist/libs/${lib}/package.json`).peerDependencies).toEqual({
expect(readJson(`dist/libs/${lib}/package.json`).dependencies).toEqual({
react: expect.any(String),
});
expect(readJson(`dist/libs/${lib}/package.json`).peerDependencies).toEqual({
tslib: expect.any(String),
});
checkFilesDoNotExist(`dist/libs/${lib}/${packageManagerLockFile['npm']}`);
Expand Down

0 comments on commit 6b5be0b

Please sign in to comment.