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之間的衝突嗎?