Skip to content

Commit 09a71ba

Browse files
PowerKiKidgp1130
authored andcommitted
fix(@schematics/angular): Consolidated setup with a single beforeEach()
Since f463c84 we use native `async`/`await` and thus we do not need to split setup in two `beforeEach()`
1 parent e5bf35e commit 09a71ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template

-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ describe('<%= classify(name) %><%= classify(type) %>', () => {
1111
declarations: [ <%= classify(name) %><%= classify(type) %> ]
1212
})
1313
.compileComponents();
14-
});
1514

16-
beforeEach(() => {
1715
fixture = TestBed.createComponent(<%= classify(name) %><%= classify(type) %>);
1816
component = fixture.componentInstance;
1917
fixture.detectChanges();

0 commit comments

Comments
 (0)