Skip to content

Commit f0a9408

Browse files
committed
test: ignore jest-setup.js in coverage report
1 parent 1b10e32 commit f0a9408

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# react-intersection-observer
22

3-
[![Greenkeeper badge](https://badges.greenkeeper.io/thebuilder/react-intersection-observer.svg)](https://greenkeeper.io/)
3+
[![npm](https://img.shields.io/npm/v/react-intersection-observer.svg)](https://www.npmjs.com/package/react-intersection-observer)
44
[![Travis](https://travis-ci.org/thebuilder/react-intersection-observer.svg?branch=master)](https://travis-ci.org/thebuilder/react-intersection-observer)
5+
[![Coverage Status](https://coveralls.io/repos/github/thebuilder/react-intersection-observer/badge.svg?branch=master)](https://coveralls.io/github/thebuilder/react-intersection-observer?branch=master)
6+
[![Greenkeeper badge](https://badges.greenkeeper.io/thebuilder/react-intersection-observer.svg)](https://greenkeeper.io/)
57
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
6-
[![npm](https://img.shields.io/npm/v/react-intersection-observer.svg)](https://www.npmjs.com/package/react-intersection-observer)
78

89
React component that triggers a function when the component enters or leaves the
910
viewport. No complex configuration needed, just wrap your views and it handles

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
],
6161
"setupFiles": [
6262
"<rootDir>/jest-setup.js"
63+
],
64+
"coveragePathIgnorePatterns": [
65+
"/node_modules/",
66+
"jest-setup.js"
6367
]
6468
},
6569
"dependencies": {

0 commit comments

Comments
 (0)