mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
14 lines
345 B
JavaScript
14 lines
345 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.getMeta('todo');
|
|
assert.equal(todo.isSingle, 0);
|
|
});
|
|
}); |