1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00
Files
Boostnote/tests/helpers/setup-electron-mock.js
2018-03-15 22:14:21 +11:00

12 lines
134 B
JavaScript

import mock from 'mock-require'
const noop = () => {}
mock('electron', {
remote: {
app: {
getAppPath: noop
}
}
})