Skip to content

Commit

Permalink
fix: ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
ObservedObserver committed Jan 19, 2020
1 parent ed7b4a1 commit 4138df1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/visual-insights/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Visual-Insights

![](https://travis-ci.org/ObservedObserver/visual-insights.svg?branch=master)
![](https://travis-ci.org/kanaries/Rath.svg?branch=master)
![](https://img.shields.io/npm/v/visual-insights?color=blue)
[![Coverage Status](https://coveralls.io/repos/github/Kanaries/Rath/badge.svg?branch=master)](https://coveralls.io/github/Kanaries/Rath?branch=dev)

### API

Expand Down
2 changes: 1 addition & 1 deletion packages/visual-insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"buildback": "tsc -p ./tsconfig.cjs.json",
"buildfront": "tsc -p ./tsconfig.esm.json",
"test": "npm run buildback && mocha --no-timeouts",
"coverage": "istanbul cover _mocha -- --no-timeouts --report lcovonly && cat ./coverage/lcov.info | coveralls"
"coverage": "istanbul cover _mocha --report lcovonly -- --no-timeouts -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
2 changes: 1 addition & 1 deletion packages/visual-insights/test/impurityMeasure.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Impurity Measure test', function () {

let ans = entropy(probabilityList);
assert.notEqual(ans, NaN);
assert.equal(Math.log2(size) >= ans, true);
assert.equal(Math.log2(size) + Number.EPSILON >= ans - Number.EPSILON, true);
})
})

Expand Down

0 comments on commit 4138df1

Please sign in to comment.