Skip to content

Commit

Permalink
cover component and data-layer with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
one-more committed Nov 23, 2019
1 parent 3311430 commit a8a41e1
Show file tree
Hide file tree
Showing 19 changed files with 1,257 additions and 5,149 deletions.
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
"roots": [
"<rootDir>/src"
],
"moduleNameMapper": {
"~(.*)$": "<rootDir>/src/$1",
}
};
1,038 changes: 767 additions & 271 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.3.3",
"@types/jest": "^24.0.23",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"jest": "^24.9.0",
"lerna": "^3.15.0",
"typescript": "^3.6.2",
"webpack": "^4.39.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"module": "commonjs",
"target": "es6",
"jsx": "react",
"types": ["react"]
"types": ["react", "jest"]
}
}
4 changes: 4 additions & 0 deletions packages/core/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
...require("../../jest.config"),
setupFiles: ["./setup.jest.js"],
}
Loading

0 comments on commit a8a41e1

Please sign in to comment.