Originally I was having issues with this package using Angular SSR as I was getting this error on import Window is not defined
However, you can mock this in server.ts via the following:
const MockBrowser = require('mock-browser').mocks.MockBrowser;
const mock = new MockBrowser();
global.window = mock.getWindow();
I'm now getting an error as stated in the title, SVG is not defined. IS there any way to mock this?
I believe it uses https://github.com/svgdotjs/ under the hood
Thanks