Skip to content

Commit

Permalink
Fix process SVG test
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Jan 19, 2019
1 parent 2b8a824 commit 8858641
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ describe('react-inlinesvg', () => {
const extraProp = 'data-isvg="test"';
const wrapper = setup({
src: fixtures.url,
processSVG: svgText =>
svgText.replace('<svg ', `<svg ${extraProp}`),
processSVG: svgText => svgText.replace('<svg ', `<svg ${extraProp} `),
onError: done,
onLoad: () => {
wrapper.update();
Expand Down

0 comments on commit 8858641

Please sign in to comment.