diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-05-03 19:47:39 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-05-16 00:55:02 +0200 |
commit | d2aa484b600dc0d122bb994b9bb29504ffe4cf12 (patch) | |
tree | 1d3e38fdb22f7afe02f1ebcf4b07734761970985 /jest.config.js | |
parent | refactor: config file saving and debugging (diff) | |
download | sophie-d2aa484b600dc0d122bb994b9bb29504ffe4cf12.tar.gz sophie-d2aa484b600dc0d122bb994b9bb29504ffe4cf12.tar.zst sophie-d2aa484b600dc0d122bb994b9bb29504ffe4cf12.zip |
build: integration testing support
Run integration tests in an electron environment for the main process.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js index b9a4ccf..4e765f0 100644 --- a/jest.config.js +++ b/jest.config.js | |||
@@ -1,9 +1,10 @@ | |||
1 | /** @type {import('@jest/types').Config.InitialOptions} */ | 1 | /** @type {import('@jest/types').Config.InitialOptions} */ |
2 | export default { | 2 | export default { |
3 | projects: ['<rootDir>/packages/*'], | 3 | projects: ['<rootDir>/packages/*/jest.config.js'], |
4 | collectCoverageFrom: ['src/**/*.{ts,tsx}'], | 4 | collectCoverageFrom: ['src/**/*.{ts,tsx}'], |
5 | /** @type {'v8'} */ | 5 | /** @type {'v8'} */ |
6 | coverageProvider: 'v8', | 6 | coverageProvider: 'v8', |
7 | /** @type {['cobertura', 'text']} */ | 7 | /** @type {['cobertura', 'text']} */ |
8 | coverageReporters: ['cobertura', 'text'], | 8 | coverageReporters: ['cobertura', 'text'], |
9 | coverageDirectory: 'coverage/test', | ||
9 | }; | 10 | }; |