kopia lustrzana https://github.com/wagtail/wagtail
16 wiersze
349 B
Plaintext
16 wiersze
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();
|
|
});
|
|
});
|