2
0
mirror of https://github.com/frappe/books.git synced 2025-01-11 18:38:47 +00:00
books/tests/helpers.js
2018-02-08 12:16:38 +05:30

12 lines
268 B
JavaScript

const server = require('frappejs/server');
module.exports = {
async init_sqlite() {
server.init();
server.init_models();
server.init_db({
backend: 'sqlite',
connection_params: {dbPath: 'test.db'}
});
}
}