Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
new file mode 100644
index 0000000..3e9fe16
--- /dev/null
+++ b/jest.config.js
@@ -0,0 +1,13 @@
+module.exports = {
+ setupFilesAfterEnv: ['<rootDir>/jest-setup.ts'],
+ "preset": "ts-jest",
+ "transform": {
+ "^.+\\.js$": "babel-jest"
+ },
+ "testEnvironment": "jsdom",
+ "globals": {
+ "ts-jest": {
+ "tsconfig": "<rootDir>/tsconfig.test.json"
+ }
+ }
+};