Skip to content

Commit ea2c476

Browse files
committed
refactor(@schematics/angular): remove unused local variables
`messages` is unused from the spec and thus can be removed. (cherry picked from commit 759344d)
1 parent 62ec20a commit ea2c476

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/schematics/angular/environments/index_spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,12 @@ describe('Application Schematic', () => {
3737
};
3838

3939
let applicationTree: UnitTestTree;
40-
const messages: string[] = [];
41-
schematicRunner.logger.subscribe((x) => messages.push(x.message));
4240

4341
function runEnvironmentsSchematic(): Promise<UnitTestTree> {
4442
return schematicRunner.runSchematic('environments', defaultOptions, applicationTree);
4543
}
4644

4745
beforeEach(async () => {
48-
messages.length = 0;
4946
const workspaceTree = await schematicRunner.runSchematic('workspace', workspaceOptions);
5047
applicationTree = await schematicRunner.runSchematic(
5148
'application',

0 commit comments

Comments
 (0)