issues
search
damianstasik
/
vue-svg-loader
🔨 webpack loader that lets you use SVG files as Vue components
https://vue-svg-loader.js.org
MIT License
645
stars
86
forks
source link
Feat: Implement test suite
#198
Closed
ndrscodes
closed
1 year ago
ndrscodes
commented
1 year ago
adds unit tests. tests added:
Uses a custom webpack compiler in order to check if a valid template is created
Uses a custom webpack compiler in order to test if
vue-loader
is able to compile the template generated by the loader
checks if the loader yields the same result when invoked by webpack and when called directly
checks if the loader injects a
v-on
directive into the svg tag if Vue 2 is detected
adds unit tests. tests added:
vue-loader
is able to compile the template generated by the loaderv-on
directive into the svg tag if Vue 2 is detected