Skip to content

Commit 9534f15

Browse files
committed
refactor: update experimental builder warnings
The "unit-test" builder is no longer considered experimental, so the warning has been removed. The "jest" and "web-test-runner" builders are now deprecated and will be removed in version 22. The warnings have been updated to reflect this.
1 parent 14f056e commit 9534f15

File tree

3 files changed

+3
-6
lines changed
  • packages

3 files changed

+3
-6
lines changed

packages/angular/build/src/builders/unit-test/builder.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,6 @@ export async function* execute(
176176
return;
177177
}
178178

179-
context.logger.warn(
180-
`NOTE: The "unit-test" builder is currently EXPERIMENTAL and not ready for production use.`,
181-
);
182-
183179
// Initialize the test runner and normalize options
184180
let runner;
185181
let normalizedOptions;

packages/angular_devkit/build_angular/src/builders/jest/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const execFile = promisify(execFileCb);
2626
export default createBuilder(
2727
async (schema: JestBuilderSchema, context: BuilderContext): Promise<BuilderOutput> => {
2828
context.logger.warn(
29-
'NOTE: The Jest builder is currently EXPERIMENTAL and not ready for production use.',
29+
'NOTE: The Jest builder is currently EXPERIMENTAL and will be removed in version 22.',
3030
);
3131

3232
const options = normalizeOptions(schema);

packages/angular_devkit/build_angular/src/builders/web-test-runner/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ import { writeTestFiles } from './write-test-files';
2323
export default createBuilder(
2424
async (schema: Schema, ctx: BuilderContext): Promise<BuilderOutput> => {
2525
ctx.logger.warn(
26-
'NOTE: The Web Test Runner builder is currently EXPERIMENTAL and not ready for production use.',
26+
'NOTE: The Web Test Runner builder is currently EXPERIMENTAL and will be removed in version 22.',
2727
);
28+
2829
logBuilderStatusWarnings(schema, ctx);
2930

3031
// Dynamic import `@web/test-runner` from the user's workspace. As an optional peer dep, it may not be installed

0 commit comments

Comments
 (0)