2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00
books/tests/helpers.js

12 lines
269 B
JavaScript
Raw Normal View History

2018-01-16 06:09:17 +00:00
const server = require('frappejs/server');
2018-01-12 12:25:07 +00:00
module.exports = {
async init_sqlite() {
2018-01-24 11:52:05 +00:00
server.init();
server.init_models();
2018-01-12 12:25:07 +00:00
server.init_db({
backend: 'sqlite',
connection_params: {db_path: 'test.db'}
});
}
}