fixed tests after angular 10 upgrade

This commit is contained in:
Giuseppe Digilio
2020-12-03 19:45:05 +01:00
parent 9ed1c74f29
commit 10d0c2e518
212 changed files with 1461 additions and 1333 deletions

View File

@@ -28,12 +28,12 @@ describe('ProcessBreadcrumbResolver', () => {
resolvedConfig.subscribe((config) => {
expect(config).toEqual(expectedConfig);
done();
})
});
});
it('should resolve throw an error when no breadcrumbKey is defined', () => {
expect(() => {
resolver.resolve({ data: {} } as any, undefined)
resolver.resolve({ data: {} } as any, undefined);
}).toThrow();
});
});