Skip to content

Commit

Permalink
fix(jest): fix jest config error preventing testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-McFarlin committed Feb 9, 2022
1 parent 3b14f29 commit d738e3f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ docs/

rollup.config.js
jest.config.js
jest.setup.js
jest.setup.ts
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
testEnvironment: "jsdom",
roots: ["./src"],
setupFilesAfterEnv: ["./jest.setup.js"],
setupFilesAfterEnv: ["./jest.setup.ts"],
moduleFileExtensions: ["js", "ts", "tsx"],
testPathIgnorePatterns: ["node_modules/"],
transform: {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*"],
"include": ["src/**/*", "./jest.setup.ts"],
"exclude": ["node_modules", "build"]
}

0 comments on commit d738e3f

Please sign in to comment.