test: update language service module resolution cache (#36989)
With this change we update the expect of the `module resolution cache` were in the second count with cache the `fileExists` is called less then 700 times. PR Close #36989
This commit is contained in:
parent
f97d8a9cbd
commit
508c555ce2
|
@ -59,8 +59,8 @@ describe('reflector_host_spec', () => {
|
|||
// This resolves all Angular directives in the project.
|
||||
ngLSHost.getAnalyzedModules();
|
||||
const secondCount = spy.calls.count();
|
||||
expect(secondCount).toBeGreaterThan(700);
|
||||
expect(secondCount).toBeLessThan(800);
|
||||
expect(secondCount).toBeGreaterThan(500);
|
||||
expect(secondCount).toBeLessThan(600);
|
||||
spy.calls.reset();
|
||||
|
||||
// Third count is due to recompution after the program changes.
|
||||
|
|
Loading…
Reference in New Issue