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
TypeError: ElectronStore is not a constructor
5 | import * as XLSX from 'xlsx';
6 | import ElectronStore = require('electron-store');
> 7 | const store = new ElectronStore();
| ^
THANKS A LOT IN ADVANCE!!!
The text was updated successfully, but these errors were encountered:
Hey, I am no pro with nodejs, I'd be grateful for some help.
I am trying to mock
electron
in my jest test suite, because the ElectronStore constructor callsSo I have a
jest.config.js
:and the
electronMock.js
But I get the following error message:
THANKS A LOT IN ADVANCE!!!
The text was updated successfully, but these errors were encountered: