1
当我在下面的错误我的项目开始试会发生:阵营脚本Fabricjs jsdom冲突,
FAIL的src/测试 /App.js ●使没有崩溃
TypeError: Cannot read property 'imageSmoothingEnabled' of null
at klass._setImageSmoothing (node_modules/fabric/dist/fabric.js:6567:38)
at klass._initStatic (node_modules/fabric/dist/fabric.js:6348:12)
at klass.initialize (node_modules/fabric/dist/fabric.js:8611:12)
at new klass (node_modules/fabric/dist/fabric.js:1961:23)
其实这当我创建一个fabricjs画布时发生。这是jsdom和fabricjs之间的冲突吗?