mirror of
https://github.com/frappe/books.git
synced 2024-12-26 20:30:25 +00:00
14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
const assert = require('assert');
|
|
const frappe = require('frappejs');
|
|
const helpers = require('./helpers');
|
|
|
|
describe('Models', () => {
|
|
before(async function() {
|
|
await helpers.initSqlite();
|
|
});
|
|
|
|
it('should get todo json', () => {
|
|
let todo = frappe.getMeta('ToDo');
|
|
assert.equal(todo.isSingle, 0);
|
|
});
|
|
}); |