Skip to content

Commit 4448762

Browse files
INT-3427: make fixtureHook use beforeEach instead of before (#465)
1 parent aa0db81 commit 4448762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tinymce-angular-component/src/test/ts/alien/TestHooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type { Editor } from 'tinymce';
1212
import { Attribute, SugarElement } from '@ephox/sugar';
1313

1414
export const fixtureHook = <T = unknown>(component: Type<T>, moduleDef: TestModuleMetadata) => {
15-
before(async () => {
15+
beforeEach(async () => {
1616
await TestBed.configureTestingModule(moduleDef).compileComponents();
1717
});
1818

0 commit comments

Comments
 (0)