2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/src/initFyo.ts
18alantom eba755dd11 refactor: move init code out of initFyo
- initFyo just contains the global fyo object
2022-11-07 13:28:35 +05:30

8 lines
232 B
TypeScript

import { Fyo } from 'fyo';
/**
* Global fyo: this is meant to be used only by the app. For
* testing purposes a separate instance of fyo should be initialized.
*/
export const fyo = new Fyo({ isTest: false, isElectron: true });