mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
fixed tests after angular 10 upgrade
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user