aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
new file mode 100644
index 0000000..f4b1f87
--- /dev/null
+++ b/jest.config.js
@@ -0,0 +1,20 @@
+module.exports = {
+ "roots": [
+ "<rootDir>/lib"
+ ],
+ "transform": {
+ "^.+\\.ts?$": "ts-jest"
+ },
+ "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.ts?$",
+ "moduleFileExtensions": [
+ "ts",
+ "tsx",
+ "js",
+ "jsx",
+ "json",
+ "node"
+ ],
+ "testURL": "http://localhost/",
+ "coverageDirectory": "<rootDir>/coverage",
+ "testResultsProcessor": "jest-sonar-reporter"
+}; \ No newline at end of file