I was trying to upgrade locally but I ran into this issue.
26 03 2021 16:02:24.565:INFO [karma-server]: Karma v6.3.1 server started at http://localhost:9876/
26 03 2021 16:02:24.566:INFO [launcher]: Launching browsers AngularElectron with concurrency unlimited
26 03 2021 16:02:24.574:INFO [launcher]: Starting browser Electron
√ Browser application bundle generation complete.
26 03 2021 16:02:44.268:INFO [Electron 12.0.2 (Node 14.16.0)]: Connected on socket rmlyL4_NcCgYp2qTAAAB with id 14501640
Electron 12.0.2 (Node 14.16.0) ERROR
An error was thrown in afterAll
Uncaught ReferenceError: require is not defined
ReferenceError: require is not defined
My release build and local builds works, it's only my unit tests that fail.
I started from a boilerplate but as I understand it, this plugin provides Karma with the ability to test with require so hopefully this is a good place to ask.
If you have any suggestions that would be appreciated also!
karma-electron/package.json
Line 58 in f40ee1e
I was trying to upgrade locally but I ran into this issue.
My release build and local builds works, it's only my unit tests that fail.
I started from a boilerplate but as I understand it, this plugin provides Karma with the ability to test with
requireso hopefully this is a good place to ask.If you have any suggestions that would be appreciated also!