2016-02-26 21:10:54 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { expect } from 'chai';
|
2016-06-17 13:48:33 +00:00
|
|
|
import { shallow } from 'enzyme';
|
2016-02-26 21:10:54 +00:00
|
|
|
|
2016-06-17 13:48:33 +00:00
|
|
|
import {{ name }} from '../../src/components/{{ name }}/{{ name }}';
|
2016-02-26 21:10:54 +00:00
|
|
|
|
|
|
|
describe('{{ name }}', () => {
|
|
|
|
it('exists', () => {
|
2016-06-17 13:48:33 +00:00
|
|
|
expect({{ name }}).toBeDefined();
|
2016-02-26 21:10:54 +00:00
|
|
|
});
|
|
|
|
|
2016-06-17 13:48:33 +00:00
|
|
|
it('basic', () => {
|
|
|
|
expect(shallow(<{{ name }} />)).toMatchSnapshot();
|
2016-02-26 21:10:54 +00:00
|
|
|
});
|
|
|
|
});
|