Jest seems to not detect removed files correctly. Let's clean the cache
before performing frontend unit tests in CI.
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
"i18n:merge": "npx i18ntool merge -c i18n.config.json",
"i18n:token": "npx i18ntool config token",
"test": "jest --watch",
- "test:ci": "JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter",
+ "test:ci": "jest --clearCache && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter",
"e2e": "start-test 4200 'cypress open'",
"e2e:ci": "start-test 4200 'cypress run -b chrome --headless'",
"lint:tslint": "ng lint",