diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-27 17:08:16 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-27 17:25:00 +0100 |
commit | e6bd4f6666bfb93f706b960e9bbf13c7b3c92e7a (patch) | |
tree | bc0354fd2ea1250e33959ca9ef51b4d25ba5ceea /jest.config.js | |
parent | refactor: Simplify preload (diff) | |
download | sophie-e6bd4f6666bfb93f706b960e9bbf13c7b3c92e7a.tar.gz sophie-e6bd4f6666bfb93f706b960e9bbf13c7b3c92e7a.tar.zst sophie-e6bd4f6666bfb93f706b960e9bbf13c7b3c92e7a.zip |
build: Test runner configuration per package
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js index 55e3e29..1924169 100644 --- a/jest.config.js +++ b/jest.config.js | |||
@@ -4,5 +4,11 @@ | |||
4 | module.exports = { | 4 | module.exports = { |
5 | preset: 'ts-jest', | 5 | preset: 'ts-jest', |
6 | resetMocks: true, | 6 | resetMocks: true, |
7 | restoreMocks: true, | ||
7 | testEnvironment: 'node', | 8 | testEnvironment: 'node', |
9 | testPathIgnorePatterns: [ | ||
10 | '/dist/', | ||
11 | '/dist-types', | ||
12 | '/node_modules/', | ||
13 | ], | ||
8 | }; | 14 | }; |