2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/tests/test_models.js
2018-01-31 18:26:21 +05:30

14 lines
347 B
JavaScript

const assert = require('assert');
const frappe = require('frappejs');
const helpers = require('./helpers');
describe('Models', () => {
before(async function() {
await helpers.init_sqlite();
});
it('should get todo json', () => {
let todo = frappe.get_meta('todo');
assert.equal(todo.is_single, 0);
});
});