This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
|
/* eslint-disable */
|
|
import stores from '../stores';
|
|
|
|
describe('Collection model', () => {
|
|
test('should initialize with data', () => {
|
|
const collection = stores.collections.add({
|
|
id: 123,
|
|
name: 'Engineering',
|
|
});
|
|
expect(collection.name).toBe('Engineering');
|
|
});
|
|
});
|