I am using TypeScript and Jest and have my tests next to my source files. e.g:
Seems it doesn't detect files in sub-folders using ".". Only way I was able to get it working was to list all of the folders.
sonar.sources=helpers,managers,routes,schemas,types
sonar.tests=helpers,managers,routes,schemas,types
sonar.exclusions=**/*.js,test-data,dist,coverage
sonar.test.inclusions=**/*.spec.ts
sonar.testExecutionReportPaths=test-report.xml
sonar.typescript.lcov.reportPaths=coverage/lcov.info