From 581a98aead60951bba4bc1ef2111a9e755f3ce61 Mon Sep 17 00:00:00 2001 From: Minh Nguyen Date: Fri, 31 Jan 2020 04:00:41 +0300 Subject: [PATCH] Add license and CircleCI badges (#4) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b33f792..3c96e1c 100644 --- a/README.md +++ b/README.md @@ -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