Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
nigrosimone committed Aug 18, 2022
1 parent 39dc4ff commit fbfad95
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ describe('NgHttpCachingService: no config', () => {
expect(NG_HTTP_CACHING_MONTH_IN_MS).toBe(NG_HTTP_CACHING_DAY_IN_MS * 30);
expect(NG_HTTP_CACHING_YEAR_IN_MS).toBe(NG_HTTP_CACHING_DAY_IN_MS * 365);
expect(NgHttpCachingConfigDefault.lifetime).toBe(NG_HTTP_CACHING_HOUR_IN_MS);
expect(NgHttpCachingConfigDefault.allowedMethod).toEqual(['GET']);
expect(NgHttpCachingConfigDefault.version).toBe(VERSION.major);
expect(NgHttpCachingConfigDefault.cacheStrategy).toBe(NgHttpCachingStrategy.ALLOW_ALL);
});
});

Expand Down

0 comments on commit fbfad95

Please sign in to comment.