Vorschläge
This commit is contained in:
@@ -88,7 +88,9 @@ describe('AssistantChatComponent', () => {
|
||||
});
|
||||
|
||||
it('falls back to route context when list context loading fails', async () => {
|
||||
listsService.getList.mockReturnValue(throwError(() => new Error('not found')));
|
||||
listsService.getList.mockReturnValue(
|
||||
throwError(() => new Error('not found')),
|
||||
);
|
||||
await router.navigateByUrl('/lists/list-1');
|
||||
const fixture = TestBed.createComponent(AssistantChatComponent);
|
||||
const component = fixture.componentInstance as unknown as {
|
||||
|
||||
Reference in New Issue
Block a user