2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/tests/helpers.js
2018-01-24 17:22:05 +05:30

12 lines
269 B
JavaScript

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