changed CI to fail on test fail (+failing test)
This commit is contained in:
+1
-1
@@ -14,5 +14,5 @@ install:
|
||||
- npm install
|
||||
- node build.js
|
||||
script:
|
||||
- jest --silent --coverage --coverageReporters=text-lcov | coveralls
|
||||
- jest --silent --coverage --coverageReporters=text-lcov && cat ./coverage/lcov.info | coveralls
|
||||
- jshint ./src
|
||||
@@ -104,6 +104,6 @@ describe('toXML', () => {
|
||||
describe('compute', () => {
|
||||
test('no nodes no links', () => {
|
||||
const res = rendering({beautify: true}).compute({}, []);
|
||||
expect(res).toEqual('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0">\n</svg>');
|
||||
expect(res).toEqual('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0">\n\n</svg>');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user