Skip to content

Commit

Permalink
Integrate testing with jest (#11)
Browse files Browse the repository at this point in the history
* Add Jest dependency and add mock

* Added shallowrendering

* Add tests to CommitComponent

* Ignore coverage-folder

* Tell CircleCi to run tests

* Add ProfileInfo test

* Add Repository test

* Add Repositories test and snapshots
  • Loading branch information
jangerhard authored and mariushe committed May 8, 2018
1 parent 3ce6669 commit a3d4e52
Show file tree
Hide file tree
Showing 14 changed files with 3,658 additions and 1,048 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
# - run: npm test
- run: npm test
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/node_modules
/build

.idea
.idea

/coverage
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ webpack.config.js
.babelrc
.cache
node_modules
yarn-error.log
.idea
*.iml
coverage
Loading

0 comments on commit a3d4e52

Please sign in to comment.