fix AoT issues

This commit is contained in:
Art Lowel
2020-02-18 18:52:33 +01:00
parent bc00c000a6
commit 6824ccb307
6 changed files with 80 additions and 43 deletions

View File

@@ -91,7 +91,7 @@ describe('ObjectCacheService', () => {
// due to the implementation of spyOn above, this subscribe will be synchronous
service.getObjectBySelfLink(selfLink).pipe(first()).subscribe((o) => {
expect(o.self).toBe(selfLink);
expect(o._links.self.href).toBe(selfLink);
// this only works if testObj is an instance of TestClass
expect(o instanceof Item).toBeTruthy();
}