2
0
mirror of https://github.com/frappe/books.git synced 2025-01-27 09:08:24 +00:00
books/tests/test_models.js

14 lines
346 B
JavaScript
Raw Normal View History

2018-01-12 17:55:07 +05:30
const assert = require('assert');
2018-01-16 11:39:17 +05:30
const frappe = require('frappejs');
2018-01-12 17:55:07 +05:30
const helpers = require('./helpers');
describe('Models', () => {
before(async function() {
await helpers.init_sqlite();
});
it('should get todo json', () => {
let todo = frappe.getMeta('todo');
2018-01-31 18:26:21 +05:30
assert.equal(todo.is_single, 0);
2018-01-12 17:55:07 +05:30
});
});