mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
15 lines
349 B
Text
15 lines
349 B
Text
import React from 'react';
|
|
import { expect } from 'chai';
|
|
import { shallow } from 'enzyme';
|
|
|
|
import {{ name }} from '../../src/components/{{ name }}/{{ name }}';
|
|
|
|
describe('{{ name }}', () => {
|
|
it('exists', () => {
|
|
expect({{ name }}).toBeDefined();
|
|
});
|
|
|
|
it('basic', () => {
|
|
expect(shallow(<{{ name }} />)).toMatchSnapshot();
|
|
});
|
|
});
|