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.
outline/app/models/Collection.test.js

13 lines
294 B
JavaScript

/* 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');
});
});