aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.js
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-26 11:20:00 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-27 21:07:44 +0200
commit4ed5115c2b06f204fd0aa3351d8acaee6884444f (patch)
tree121501617c3f3948ecf5911bfb13085dc994469d /jest.config.js
parenttest(shared): ServiceBase tests (diff)
downloadsophie-4ed5115c2b06f204fd0aa3351d8acaee6884444f.tar.gz
sophie-4ed5115c2b06f204fd0aa3351d8acaee6884444f.tar.zst
sophie-4ed5115c2b06f204fd0aa3351d8acaee6884444f.zip
build: fix test rootDir configuration
Each package should load the tests from its src directory only. Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js
index 4e765f0..3e1f9ce 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,7 +1,7 @@
1/** @type {import('@jest/types').Config.InitialOptions} */ 1/** @type {import('@jest/types').Config.InitialOptions} */
2export default { 2export default {
3 projects: ['<rootDir>/packages/*/jest.config.js'], 3 projects: ['<rootDir>/packages/*/jest.config.js'],
4 collectCoverageFrom: ['src/**/*.{ts,tsx}'], 4 collectCoverageFrom: ['**/*.{ts,tsx}'],
5 /** @type {'v8'} */ 5 /** @type {'v8'} */
6 coverageProvider: 'v8', 6 coverageProvider: 'v8',
7 /** @type {['cobertura', 'text']} */ 7 /** @type {['cobertura', 'text']} */