1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
Files
Boostnote/tests/helpers/setup-electron-mock.js
2019-11-22 05:42:55 +09:00

13 lines
155 B
JavaScript

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