From 002f28a02b4109705851453c0e1ce020a4fc30de Mon Sep 17 00:00:00 2001 From: AB1908 <14124383+AB1908@users.noreply.github.com> Date: Sat, 17 Sep 2022 15:44:50 +0530 Subject: [PATCH] test: add jest config --- jest.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 jest.config.js diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..332efa0 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,13 @@ +module.exports = { + "roots": [ + "/src", + "" + ], + "testMatch": [ + "**/__tests__/**/*.+(ts|tsx|js)", + "**/?(*.)+(spec|test).+(ts|tsx|js)" + ], + "transform": { + "^.+\\.(ts|tsx)$": "ts-jest" + }, +} \ No newline at end of file