Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > [email protected] test ***/fabric.js
- > node test.js && jshint src
- Testing ***/fabric.js/dist/fabric.js ...
- jpeg toDataURL not supported
- Fontconfig warning: ignoring UTF-8: not a valid region tag
- done
- Errors:
- Module: fabric.Ellipse Test: fromElement
- at Object.left (***/fabric.js/test/unit/ellipse.js:114:5)
- Actual value:
- null
- Expected value:
- 12
- Module: fabric.Ellipse Test: fromElement
- at Object.left (***/fabric.js/test/unit/ellipse.js:115:5)
- Actual value:
- null
- Expected value:
- 15
- Module: fabric.Circle Test: fromElement
- at Object.left (***/fabric.js/test/unit/circle.js:155:5)
- Actual value:
- null
- Expected value:
- 12
- Module: fabric.Circle Test: fromElement
- at Object.left (***/fabric.js/test/unit/circle.js:156:5)
- Actual value:
- null
- Expected value:
- 15
- Module: fabric.util Test: fabric.loadSVGFromString
- Died on test #2 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
- at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
- at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
- at Object.loadedObjects (***/fabric.js/test/unit/util.js:387:12)
- Module: fabric.util Test: fabric.loadSVGFromString with surrounding whitespace
- Died on test #1 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
- at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
- at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
- at Object.callbackInvoked (***/fabric.js/test/unit/util.js:400:12)
- Module: fabric.util Test: fabric.util.groupSVGElements
- Died on test #2 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
- at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
- at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
- at Object.<anonymous> (***/fabric.js/test/unit/util.js:480:12)
- Module: fabric.util Test: fabric.util.groupSVGElements #2
- Died on test #1 at QUnit.asyncTest (***/fabric.js/node_modules/qunit/node_modules/qunitjs/qunit/qunit.js:319:9): Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- TypeError: Object <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> <polygon fill="red" stroke="blue" stroke-width="10" points="350, 75 379,161 469,161 397,215 423,301 350,250 277,301 303,215 231,161 321,161"/> </svg> has no method 'querySelectorAll'
- at parseUseDirectives (***/fabric.js/dist/fabric.js:9:115623)
- at Object.svgCache.has [as parseSVGDocument] (***/fabric.js/dist/fabric.js:9:119026)
- at Object.fabric.loadSVGFromString (***/fabric.js/dist/fabric.js:9:745940)
- at Object.array (***/fabric.js/test/unit/util.js:493:12)
- Summary:
- ┌────────────────────────────────────────────────────┬────────┬────────┬───────┬─────────┐
- │ File │ Failed │ Passed │ Total │ Runtime │
- ├────────────────────────────────────────────────────┼────────┼────────┼───────┼─────────┤
- │ ***/fabric.js/dist/fabric.js │ 8 │ 2473 │ 2481 │ 21878 │
- └────────────────────────────────────────────────────┴────────┴────────┴───────┴─────────┘
- Global summary:
- ┌───────┬───────┬────────────┬────────┬────────┬─────────┐
- │ Files │ Tests │ Assertions │ Failed │ Passed │ Runtime │
- ├───────┼───────┼────────────┼────────┼────────┼─────────┤
- │ 1 │ 586 │ 2481 │ 8 │ 2473 │ 21878 │
- └───────┴───────┴────────────┴────────┴────────┴─────────┘
- Coverage:
- ┌────────────────────────────────────────────────────┬────────────────────┬────────────────────┬───────────────────┬─────────────────┐
- │ File │ Statements │ Branches │ Functions │ Lines │
- ├────────────────────────────────────────────────────┼────────────────────┼────────────────────┼───────────────────┼─────────────────┤
- │ ***/fabric.js/dist/fabric.js │ 54.72% (3213/5872) │ 46.88% (1861/3970) │ 63.32% (737/1164) │ 55% (3188/5796) │
- └────────────────────────────────────────────────────┴────────────────────┴────────────────────┴───────────────────┴─────────────────┘
- Global coverage:
- ┌───────┬────────────────────┬────────────────────┬───────────────────┬─────────────────┐
- │ Files │ Statements │ Branches │ Functions │ Lines │
- ├───────┼────────────────────┼────────────────────┼───────────────────┼─────────────────┤
- │ 1 │ 54.72% (3213/5872) │ 46.88% (1861/3970) │ 63.32% (737/1164) │ 55% (3188/5796) │
- └───────┴────────────────────┴────────────────────┴───────────────────┴─────────────────┘
- npm ERR! Test failed. See above for more details.
- npm ERR! not ok code 0
Advertisement
Add Comment
Please, Sign In to add comment