mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 11:03:53 +08:00
test(@angular-devkit/build-angular): remove unneeded flag from test
This commit is contained in:
parent
9b26f9ba49
commit
e4c0151241
@ -233,7 +233,7 @@ describe('Browser Builder rebuilds', () => {
|
|||||||
// Add a major static analysis error on a non-main file to the initial build.
|
// Add a major static analysis error on a non-main file to the initial build.
|
||||||
host.replaceInFile('./src/app/app.component.ts', `'app-root'`, `(() => 'app-root')()`);
|
host.replaceInFile('./src/app/app.component.ts', `'app-root'`, `(() => 'app-root')()`);
|
||||||
|
|
||||||
const overrides = { watch: true, aot: true, forkTypeChecker: false };
|
const overrides = { watch: true, aot: true };
|
||||||
const logger = new TestLogger('rebuild-aot-errors');
|
const logger = new TestLogger('rebuild-aot-errors');
|
||||||
const staticAnalysisError = 'Function expressions are not supported in decorators';
|
const staticAnalysisError = 'Function expressions are not supported in decorators';
|
||||||
const syntaxError = 'Declaration or statement expected.';
|
const syntaxError = 'Declaration or statement expected.';
|
||||||
@ -298,7 +298,7 @@ describe('Browser Builder rebuilds', () => {
|
|||||||
'src/app/imported-styles.css': 'p {color: #f00;}',
|
'src/app/imported-styles.css': 'p {color: #f00;}',
|
||||||
});
|
});
|
||||||
|
|
||||||
const overrides = { watch: true, aot: true, forkTypeChecker: false };
|
const overrides = { watch: true, aot: true };
|
||||||
let buildNumber = 0;
|
let buildNumber = 0;
|
||||||
|
|
||||||
runTargetSpec(host, browserTargetSpec, overrides, DefaultTimeout * 3).pipe(
|
runTargetSpec(host, browserTargetSpec, overrides, DefaultTimeout * 3).pipe(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user