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:
Alan Agius 2020-05-13 11:27:22 +02:00 committed by Kara Erickson
parent f97d8a9cbd
commit 508c555ce2
1 changed files with 2 additions and 2 deletions

View File

@ -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.