【发布时间】:2022-11-17 13:33:28
【问题描述】:
节点上不存在 SVGPathElement。它存在于浏览器中。因此添加此测试
class SVGPathElement extends HTMLElement {}
window.SVGPathElement = SVGPathElement
describe('your test', () => {
【讨论】:
节点上不存在 SVGPathElement。它存在于浏览器中。因此添加此测试
class SVGPathElement extends HTMLElement {}
window.SVGPathElement = SVGPathElement
describe('your test', () => {
【讨论】: