restore Button.test.tsx
This commit is contained in:
Родитель
a3d29f8994
Коммит
46aca61daa
|
@ -1,8 +1,8 @@
|
|||
import * as React from 'react';
|
||||
import { Button } from './Button';
|
||||
import * as renderer from 'react-test-renderer';
|
||||
|
||||
it('Button default', () => {
|
||||
const tree = renderer.create(<Button content="Default Button" />).toJSON();
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
import * as React from 'react';
|
||||
import { Button } from './Button';
|
||||
import * as renderer from 'react-test-renderer';
|
||||
|
||||
it('Button default', () => {
|
||||
const tree = renderer.create(<Button content="Default Button" />).toJSON();
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче