summaryrefslogtreecommitdiffhomepage
path: root/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
new file mode 100644
index 0000000..9293686
--- /dev/null
+++ b/jest.config.js
@@ -0,0 +1,14 @@
+module.exports = {
+ preset: 'ts-jest',
+ collectCoverageFrom: [
+ '<rootDir>/src/**/*.{js,ts}',
+ ],
+ coverageDirectory: 'coverage',
+ setupFilesAfterEnv: [
+ '<rootDir>/src/setupTests.ts',
+ ],
+ moduleNameMapper: {
+ '@helpers/(.*)': '<rootDir>/src/helpers/$1',
+ '@libTypes': '<rootDir>/src/libTypes',
+ },
+};