Skip to content

Commit

Permalink
cleanup(js): revert the test checks
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Oct 3, 2022
1 parent 5e14e75 commit 0fbff69
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions e2e/js/src/js.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ import {
waitUntil,
} from '../../utils';

// copy from packages/nx/src/utils/version.ts
// TODO(meeroslav) this should be in sync with the version in the package.json
const swcHelpersVersion = '~0.3.3';

describe('js e2e', () => {
let scope: string;

Expand Down Expand Up @@ -239,16 +235,14 @@ describe('js e2e', () => {

runCLI(`build ${lib}`);

expect(
readJson(`dist/libs/${lib}/package.json`).peerDependencies['@swc/helpers']
).toEqual(swcHelpersVersion);
const rootPackageJson = readJson(`package.json`);

expect(
satisfies(
readJson(`dist/libs/${lib}/package.json`).peerDependencies[
'@swc/helpers'
],
swcHelpersVersion
rootPackageJson.dependencies['@swc/helpers']
)
).toBeTruthy();

Expand Down

0 comments on commit 0fbff69

Please sign in to comment.