diff options
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/apps/code/__tests__/Code-it.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/code/__tests__/Code-it.ts b/server/sonar-web/src/main/js/apps/code/__tests__/Code-it.ts index c620624df31..daf271f213a 100644 --- a/server/sonar-web/src/main/js/apps/code/__tests__/Code-it.ts +++ b/server/sonar-web/src/main/js/apps/code/__tests__/Code-it.ts @@ -58,7 +58,7 @@ jest.mock('../../../components/SourceViewer/helpers/lines', () => { const lines = jest.requireActual('../../../components/SourceViewer/helpers/lines'); return { ...lines, - LINES_TO_LOAD: 20, + LINES_TO_LOAD: 5, }; }); @@ -66,7 +66,7 @@ jest.mock('../../../api/quality-gates', () => ({ getQualityGateProjectStatus: jest.fn(), })); -const DEFAULT_LINES_LOADED = 19; +const DEFAULT_LINES_LOADED = 5; const originalScrollTo = window.scrollTo; const branchesHandler = new BranchesServiceMock(); |