diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2021-01-14 18:30:25 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-01-20 20:32:16 +0000 |
commit | d6b1b8a262b3890ffe5fd741d0bbeaaabd25a880 (patch) | |
tree | 08f3158c506d6b6f141dd007470b5d393be02ea9 /server/sonar-web/src/main/js/apps/projectBaseline | |
parent | 81fc4043e73b22679de97d1336ff943b4724a62b (diff) | |
download | sonarqube-d6b1b8a262b3890ffe5fd741d0bbeaaabd25a880.tar.gz sonarqube-d6b1b8a262b3890ffe5fd741d0bbeaaabd25a880.zip |
SONAR-14309 Update eslint, typescript and fix issues
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectBaseline')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx b/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx index 5ff26cfbb98..45785c4f34e 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx @@ -31,7 +31,7 @@ jest.mock('date-fns/start_of_day', () => (date: Date) => { }); jest.mock('sonar-ui-common/helpers/dates', () => { - const actual = require.requireActual('sonar-ui-common/helpers/dates'); + const actual = jest.requireActual('sonar-ui-common/helpers/dates'); return { ...actual, toShortNotSoISOString: (date: string) => `ISO.${date}` }; }); |