Snap svg is quite new to me, I have followed the setup mentioned in the https://github.com/adobe-webplatform/Snap.svg. (webpack setup) But I'm getting "Uncaught ReferenceError: eve is not defined".
So I ended up using "const Snap = require(imports-loader?this=>window,fix=>module.exports=0!snapsvg/dist/snap.svg.js
);" for production, but this not working for the unit test.
Error is from this lineeve = function (name, scope) {
in "snap.svg.js".