changed CI to fail on test fail (+failing test)

This commit is contained in:
Klemek
2019-07-12 11:50:26 +02:00
parent 9acdd8978b
commit 9baa010380
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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>');
});
});