Skip to content

Commit

Permalink
chore(enzyme): add enzyme package
Browse files Browse the repository at this point in the history
Add the enzyme package and add the setup config for enzyme.
  • Loading branch information
Poltergeist committed Apr 12, 2018
1 parent 0e654df commit 38e19b4
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 30 deletions.
17 changes: 4 additions & 13 deletions jest.config.json
@@ -1,20 +1,11 @@
{
"rootDir": ".",
"roots": [
"components"
],
"roots": ["components"],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"testPathIgnorePatterns": [
"/node_modules/"
]
"moduleFileExtensions": ["js", "jsx", "json", "ts", "tsx"],
"testPathIgnorePatterns": ["/node_modules/"],
"setupTestFrameworkScriptFile": "<rootDir>/testHelper/setupTests.ts"
}
235 changes: 235 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 38e19b4

Please sign in to comment.