mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
fix: component name
This commit is contained in:
parent
4de37b7f47
commit
d3b4818bc5
@ -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();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user