mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] move jest.config.js into package.json
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
roots: ["<rootDir>/src", "<rootDir>/tests"],
|
|
||||||
transform: {
|
|
||||||
"^.+\\.ts?$": "ts-jest"
|
|
||||||
},
|
|
||||||
verbose: false,
|
|
||||||
testRegex: "(/tests/.*(test|spec))\\.ts?$",
|
|
||||||
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"]
|
|
||||||
};
|
|
||||||
@@ -51,6 +51,26 @@
|
|||||||
"uglify-es": "^3.3.9"
|
"uglify-es": "^3.3.9"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"jest-environment-jsdom": "^24.7.1",
|
||||||
"snabbdom": "^0.7.3"
|
"snabbdom": "^0.7.3"
|
||||||
|
},
|
||||||
|
"jest": {
|
||||||
|
"roots": [
|
||||||
|
"<rootDir>/src",
|
||||||
|
"<rootDir>/tests"
|
||||||
|
],
|
||||||
|
"transform": {
|
||||||
|
"^.+\\.ts?$": "ts-jest"
|
||||||
|
},
|
||||||
|
"verbose": false,
|
||||||
|
"testRegex": "(/tests/.*(test|spec))\\.ts?$",
|
||||||
|
"moduleFileExtensions": [
|
||||||
|
"ts",
|
||||||
|
"tsx",
|
||||||
|
"js",
|
||||||
|
"jsx",
|
||||||
|
"json",
|
||||||
|
"node"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user