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
If I would know how, I would have written these tests myself, but I couldn't find any resources on writing tests for error / exception handling with broccoli. So the untested cases we have are:
Test that ember-inline-svg throws an error during build time, if an SVG optimization has failed.
Test that ember-inline-svg emits an "empty" svg.js, if there are no .svg files present.
Another case that is untested:
Throw an error, if the handlebars helper could not find the coresponding .svg. StackOverflow
Refactor tests
This one is easy to fix tho. Expect a PR soon. Edit: Not so easy as I thought. Here be StackOverflow.
The text was updated successfully, but these errors were encountered:
If I would know how, I would have written these tests myself, but I couldn't find any resources on writing tests for error / exception handling with broccoli. So the untested cases we have are:
ember-inline-svg
throws an error during build time, if an SVG optimization has failed.ember-inline-svg
emits an "empty"svg.js
, if there are no.svg
files present.Another case that is untested:
.svg
. StackOverflowThis one is easy to fix tho. Expect a PR soon.
Edit: Not so easy as I thought. Here be StackOverflow.
The text was updated successfully, but these errors were encountered: