You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code snippet throw the following error:
undefined is not a function (evaluating 'classes.replace(/\s/g, ' ')')
instHasClassName@enzyme/build/MountedTraversal.js:73:0
Hey @OttlikG thanks for the issue. This is a known issue. Our tests run in jsdom which doesn't support SVGs so SVG support was never addressed. You can follow #375 for any updates.
This code snippet throw the following error:
undefined is not a function (evaluating 'classes.replace(/\s/g, ' ')')
instHasClassName@enzyme/build/MountedTraversal.js:73:0
I can get over of it when I extended the instHasClassName function with the following:
The console log printed out these:
LOG: 'classes', 'svg'
LOG: 'classes', Object{baseVal: 'test-svg', animVal: 'test-svg'}
The text was updated successfully, but these errors were encountered: