Skip to content

Commit

Permalink
Add license and CircleCI badges (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen authored Jan 31, 2020
1 parent 3514401 commit 581a98a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# `react-shallow-renderer`

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/NMinhNguyen/react-shallow-renderer/blob/master/LICENSE)
[![CircleCI](https://img.shields.io/circleci/build/github/NMinhNguyen/react-shallow-renderer)](https://circleci.com/gh/NMinhNguyen/react-shallow-renderer/tree/master)

When writing unit tests for React, shallow rendering can be helpful. Shallow rendering lets you render a component "one level deep" and assert facts about what its render method returns, without worrying about the behavior of child components, which are not instantiated or rendered. This does not require a DOM.

## Installation
Expand Down

0 comments on commit 581a98a

Please sign in to comment.