Update jest configuration
This commit is contained in:
parent
d8b04b3329
commit
040193a3ed
1 changed files with 3 additions and 1 deletions
|
|
@ -167,7 +167,9 @@ module.exports = {
|
||||||
// timers: "real",
|
// timers: "real",
|
||||||
|
|
||||||
// A map from regular expressions to paths to transformers
|
// A map from regular expressions to paths to transformers
|
||||||
// transform: null,
|
transform: {
|
||||||
|
"^.+\\.[t|j]sx?$": "babel-jest"
|
||||||
|
}
|
||||||
|
|
||||||
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
|
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
|
||||||
// transformIgnorePatterns: [
|
// transformIgnorePatterns: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue