diff --git a/e2e/angular/src/angular-core.test.ts b/e2e/angular/src/angular-core.test.ts index c14bcf4eed287..5611e57160e9b 100644 --- a/e2e/angular/src/angular-core.test.ts +++ b/e2e/angular/src/angular-core.test.ts @@ -66,7 +66,7 @@ describe('Angular Package', () => { console.log( `The current es2015 bundle size is ${es2015BundleSize / 1000} KB` ); - expect(es2015BundleSize).toBeLessThanOrEqual(125000); + expect(es2015BundleSize).toBeLessThanOrEqual(160000); // running tests for the app expectTestsPass(await runCLIAsync(`test my-dir-${myapp} --no-watch`)); diff --git a/e2e/angular/src/angular-library.test.ts b/e2e/angular/src/angular-library.test.ts index bb20692db06ec..d418ea83ab73c 100644 --- a/e2e/angular/src/angular-library.test.ts +++ b/e2e/angular/src/angular-library.test.ts @@ -158,7 +158,7 @@ import { names } from '@nrwl/devkit'; const jsonFile = readJson(`dist/libs/${parentLib}/package.json`); - expect(jsonFile.dependencies['tslib']).toEqual('^2.1.0'); + expect(jsonFile.dependencies['tslib']).toMatch(/\^2\.\d+\.\d+/); // match any ^2.x.x expect(jsonFile.peerDependencies[`@${proj}/${childLib}`]).toBeDefined(); expect( jsonFile.peerDependencies[`@${proj}/${childLib2}`]