chore(angular): fix e2e failing tests caused by angular upgrade (#6123)
This commit is contained in:
parent
28c03a71b1
commit
3c0afc9fdd
@ -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`));
|
||||
|
||||
@ -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}`]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user