Skip to content

Commit 5672188

Browse files
committed
Library mainainance
- Replace Mocha and Chai with Jest for testing the library. - Replace codecov with coveralls for tests coverage. - Update devDependencies.
1 parent a4788fb commit 5672188

16 files changed

+8904
-2163
lines changed

Diff for: .eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
browser: true,
44
node: true,
55
es6: true,
6-
mocha: true
6+
jest: true
77
},
88
parserOptions: {
99
ecmaVersion: 9,

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-prefix='~'

Diff for: .travis.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ node_js:
44
branches:
55
only:
66
- master
7-
before_install:
8-
- npm i -g codecov
97
install:
108
- npm install
119
script:
12-
- npm run clean && npm run lint && npm test && npm run build
13-
- codecov
10+
- npm run clean && npm run lint && npm run build && npm run coveralls

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## v4.1.0
4+
5+
- Replace Mocha and Chai with Jest for testing the library.
6+
- Replace codecov with coveralls for tests coverage.
7+
- Update `devDependencies`.
8+
39
## v4.0.0
410

511
### BREAKING CHANGES

Diff for: README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
Immutable versions of normally mutable array methods
44

5-
[![Build Status](https://travis-ci.com/georapbox/immutable-arrays.svg?branch=master)](https://travis-ci.com/georapbox/immutable-arrays)
65
[![npm version](https://img.shields.io/npm/v/immutable-arrays.svg)](http://badge.fury.io/js/immutable-arrays)
7-
[![npm downloads](https://img.shields.io/npm/dt/immutable-arrays.svg)](http://badge.fury.io/js/immutable-arrays)
8-
[![npm license](https://img.shields.io/npm/l/immutable-arrays.svg)](http://badge.fury.io/js/immutable-arrays)
9-
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
6+
[![Build Status](https://travis-ci.com/georapbox/immutable-arrays.svg?branch=master)](https://travis-ci.com/georapbox/immutable-arrays)
107
[![Maintainability](https://api.codeclimate.com/v1/badges/a9558f63e22c3e89d06c/maintainability)](https://codeclimate.com/github/georapbox/immutable-arrays/maintainability)
118
[![Issue Count](https://codeclimate.com/github/georapbox/immutable-arrays/badges/issue_count.svg)](https://codeclimate.com/github/georapbox/immutable-arrays)
12-
[![Codecov](https://img.shields.io/codecov/c/github/georapbox/immutable-arrays/master.svg)](https://codecov.io/gh/georapbox/immutable-arrays)
9+
[![Coverage Status](https://coveralls.io/repos/github/georapbox/immutable-arrays/badge.svg?branch=master)](https://coveralls.io/github/georapbox/immutable-arrays?branch=master)
1310
[![Dependencies](https://david-dm.org/georapbox/immutable-arrays.svg)](https://david-dm.org/georapbox/immutable-arrays)
1411
[![devDependency Status](https://david-dm.org/georapbox/immutable-arrays/dev-status.svg)](https://david-dm.org/georapbox/immutable-arrays?type=dev)
12+
[![npm license](https://img.shields.io/npm/l/immutable-arrays.svg)](http://badge.fury.io/js/immutable-arrays)
13+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
14+
[![npm downloads](https://img.shields.io/npm/dt/immutable-arrays.svg)](http://badge.fury.io/js/immutable-arrays)
1515

1616
## Install
1717

Diff for: jest.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
coverageReporters: ['json', 'lcov', 'text', 'clover', 'html']
3+
};

0 commit comments

Comments
 (0)