0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 19:17:48 +01:00
wagtail/client/template/component.test.mst
2017-05-13 23:53:10 +03:00

16 lines
349 B
Plaintext

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();
});
});