1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/jest.config.js
David Bomba 6a390aedbc
Configure Jest Testing Framework for Typescript (#2519)
* Set JEST for Typescript testing

* tests
2018-11-26 10:28:22 +11:00

17 lines
271 B
JavaScript
Vendored

module.exports = {
"roots": [
"resources/js/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
}