Commits

Giuseppe Digilio authored a8fcfa2550f Merge
Merge branch 'refs/heads/DURACOM-247' into DURACOM-248-ANGULAR-17
No tags

src/app/core/cache/builders/link.service.spec.ts

Modified
30 30 _links: {
31 31 self: HALLink;
32 32 predecessor: HALLink;
33 33 successor: HALLink;
34 34 };
35 35
36 36 predecessor?: TestModel;
37 37 successor?: TestModel;
38 38 }
39 39
40 -const mockDataServiceMap: any = {
41 - [TEST_MODEL.value]: () => import('../../../shared/testing/test-data-service.mock').then(m => m.TestDataService),
42 -};
40 +const mockDataServiceMap: any = new Map([
41 + [TEST_MODEL.value, () => import('../../../shared/testing/test-data-service.mock').then(m => m.TestDataService)],
42 +]);
43 43
44 44 let testDataService: TestDataService;
45 45
46 46 let testModel: TestModel;
47 47
48 48 describe('LinkService', () => {
49 49 let service: LinkService;
50 50
51 51 beforeEach(() => {
52 52 testModel = Object.assign(new TestModel(), {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut