Update sonar and jest config with new shared components path (#31029)

* fix: update jest config with new shared components path

* fix: update sonar config

* chore: add `storybook` & `@storybook/react-vite` to run the shared components tests
This commit is contained in:
Florian Duros
2025-10-15 09:08:49 +00:00
committed by GitHub
parent a4a44a0c1c
commit 6cfe197a38
4 changed files with 548 additions and 18 deletions
+2 -2
View File
@@ -4,9 +4,9 @@ sonar.organization=element-hq
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
sonar.sources=src,res
sonar.sources=src,res,packages/shared-components/src
sonar.tests=test,playwright,src
sonar.test.inclusions=test/*,playwright/*,src/**/*.test.*
sonar.test.inclusions=test/*,playwright/*,src/**/*.test.*,packages/*/src/**/*.test.*
sonar.exclusions=__mocks__,docs,element.io,nginx
sonar.cpd.exclusions=src/i18n/strings/*.json