Added Jest for testing both front and backend

This commit is contained in:
Jori Lallo
2016-09-09 01:35:39 -07:00
parent f4d1e62c13
commit 458735f341
21 changed files with 370 additions and 18 deletions

View File

@ -0,0 +1,10 @@
import renderer from 'react-test-renderer';
const snap = (children) => {
const component = renderer.create(children);
expect(component).toMatchSnapshot();
};
export {
snap,
};