fix: component name

This commit is contained in:
fushen 2019-12-26 15:50:54 +08:00
parent 4de37b7f47
commit d3b4818bc5

View File

@ -1,9 +1,9 @@
import { createElement } from 'rax';
import renderer from 'rax-test-renderer';
import { Welcome } from './index';
import { App } from './index';
test('Welcome render correctly', () => {
const tree = renderer.create(<Welcome />).toJSON();
test('App render correctly', () => {
const tree = renderer.create(<App />).toJSON();
expect(tree).toMatchSnapshot();
});