aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.js
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-03 19:47:39 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-16 00:55:02 +0200
commitd2aa484b600dc0d122bb994b9bb29504ffe4cf12 (patch)
tree1d3e38fdb22f7afe02f1ebcf4b07734761970985 /jest.config.js
parentrefactor: config file saving and debugging (diff)
downloadsophie-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.js3
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} */
2export default { 2export 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};