Skip to content

Commit 01eb995

Browse files
author
Sitefig
committed
Adds code coverage
1 parent 0e54aa8 commit 01eb995

File tree

98 files changed

+1359
-1361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1359
-1361
lines changed

.babelrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"presets": ["@babel/preset-env"],
3-
"plugins": ["istanbul"],
43
"env": {
54
"test": {
65
"plugins": [ "istanbul" ]

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ before_script:
88
- npm install
99
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
1010
- chmod +x ./cc-test-reporter
11-
- ./cc-test-reporter before-build --debug
11+
- ./cc-test-reporter before-build
1212
script:
13-
- nyc --reporter=lcov npm run test
13+
- npm run test:cover
1414
after_script:
15-
- ./cc-test-reporter after-build --debug --exit-code $TRAVIS_TEST_RESULT
15+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
1616

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# fun.js
22
Functional javascript library / YARC (Yet Another Ramda Clone) [Fork on Github](https://github.com/astuanax/fun)
33

4-
[![Build Status](https://travis-ci.org/astuanax/fun.svg?branch=master)](https://travis-ci.org/astuanax/fun) [![Code Climate](https://codeclimate.com/github/astuanax/fun/badges/gpa.svg)](https://codeclimate.com/github/astuanax/fun) ![GitHub file size in bytes](https://img.badgesize.io/astuanax/fun/master/lib/fun.min.js.svg?compression=gzip)
4+
[![Build Status](https://travis-ci.org/astuanax/fun.svg?branch=master)](https://travis-ci.org/astuanax/fun) [![Test Coverage](https://api.codeclimate.com/v1/badges/40e2d49f1fb622319b08/test_coverage)](https://codeclimate.com/github/astuanax/fun/test_coverage) [![Code Climate](https://codeclimate.com/github/astuanax/fun/badges/gpa.svg)](https://codeclimate.com/github/astuanax/fun) ![GitHub file size in bytes](https://img.badgesize.io/astuanax/fun/master/lib/fun.min.js.svg?compression=gzip)
55

66
[Check bundle size on bundlephobia](https://bundlephobia.com/[email protected])
77

0 commit comments

Comments
 (0)