mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 20:00:33 +00:00
14 lines
441 B
JavaScript
14 lines
441 B
JavaScript
import { create, expect } from '~/testInit';
|
|
import Option from '@/models/Option';
|
|
import MetableCollection from '@/lib/Metable/MetableCollection';
|
|
|
|
describe('Model: Option', () => {
|
|
it('Should result collection be instance of `MetableCollection` class.', async () => {
|
|
await create('option');
|
|
await create('option');
|
|
const options = await Option.query();
|
|
|
|
expect(options).to.be.an.instanceof(MetableCollection);
|
|
});
|
|
});
|