fixed small test
This commit is contained in:
@@ -104,6 +104,6 @@ describe('toXML', () => {
|
|||||||
describe('compute', () => {
|
describe('compute', () => {
|
||||||
test('no nodes no links', () => {
|
test('no nodes no links', () => {
|
||||||
const res = rendering({beautify: true}).compute({}, []);
|
const res = rendering({beautify: true}).compute({}, []);
|
||||||
expect(res).toEqual('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0"/>');
|
expect(res).toEqual('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0">\n</svg>');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user