Skip to content

Commit f2c8f3f

Browse files
committed
test(@angular/build): use correct builder names in integration tests
The integration test setup for the dev-server was incorrectly using the name of the `@angular-devkit/build-angular` builders. While this previously had no effect, recent changes have altered the behavior of the schema validation for the `@angular/build` builders. To ensure accurate testing, the names are now correctly specified in the test setup.
1 parent e244c45 commit f2c8f3f

File tree

1 file changed

+2
-2
lines changed
  • packages/angular/build/src/builders/dev-server/tests

1 file changed

+2
-2
lines changed

packages/angular/build/src/builders/dev-server/tests/setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export * from '../../../../../../../modules/testing/builder/src';
2222

2323
// TODO: Remove and use import after Vite-based dev server is moved to new package
2424
export const APPLICATION_BUILDER_INFO = Object.freeze({
25-
name: '@angular-devkit/build-angular:application',
25+
name: '@angular/build:application',
2626
schemaPath: path.join(
2727
path.dirname(require.resolve('@angular/build/package.json')),
2828
'src/builders/application/schema.json',
@@ -49,7 +49,7 @@ export const APPLICATION_BASE_OPTIONS = Object.freeze<AppilicationSchema>({
4949
});
5050

5151
export const DEV_SERVER_BUILDER_INFO = Object.freeze({
52-
name: '@angular-devkit/build-angular:dev-server',
52+
name: '@angular/build:dev-server',
5353
schemaPath: __dirname + '/../schema.json',
5454
});
5555

0 commit comments

Comments
 (0)