Skip to content

Commit 8d770ed

Browse files
alan-agius4filipesilva
authored andcommitted
test: remove test which is no longer relevent
We removed webpack specific build logs from the CLI, therefore this test is no longer relevant.
1 parent d3ad095 commit 8d770ed

File tree

1 file changed

+0
-17
lines changed
  • packages/angular_devkit/build_angular/src/extract-i18n

1 file changed

+0
-17
lines changed

packages/angular_devkit/build_angular/src/extract-i18n/works_spec.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,6 @@ describe('Extract i18n Target', () => {
3939
}
4040
}, 30000);
4141

42-
it('does not show full build logs', async () => {
43-
const logger = new logging.Logger('');
44-
const logs: string[] = [];
45-
logger.subscribe(e => logs.push(e.message));
46-
47-
host.appendToFile('src/app/app.component.html', '<p i18n>i18n test</p>');
48-
49-
const run = await architect.scheduleTarget(extractI18nTargetSpec, undefined, { logger });
50-
51-
await expectAsync(run.result).toBeResolvedTo(jasmine.objectContaining({ success: true }));
52-
53-
await run.stop();
54-
55-
expect(logs.join().includes('Chunk Names')).toBe(false);
56-
expect(logs.join().includes('[emitted]')).toBe(false);
57-
}, 30000);
58-
5942
it('shows errors', async () => {
6043
const logger = new logging.Logger('');
6144
const logs: string[] = [];

0 commit comments

Comments
 (0)