test(ct-angular): fix all angular tests
This commit is contained in:
parent
ea9f612869
commit
6ecfba218e
|
|
@ -12,7 +12,10 @@ export type HooksConfig = {
|
|||
};
|
||||
|
||||
beforeMount<HooksConfig>(async ({ hooksConfig, TestBed }) => {
|
||||
|
||||
TestBed.configureTestingModule({
|
||||
imports: [ButtonComponent],
|
||||
});
|
||||
|
||||
if (hooksConfig?.routing)
|
||||
TestBed.configureTestingModule({
|
||||
providers: [provideRouter(routes)],
|
||||
|
|
|
|||
Loading…
Reference in a new issue