Skip to content

Commit bda6f86

Browse files
committed
(test): render test added
1 parent 8ca8135 commit bda6f86

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// jest test
2+
import React from 'react';
3+
import { render } from '@testing-library/react';
4+
import { AnimatedModal, ModalAnimation } from './';
5+
6+
describe('AnimatedModal', () => {
7+
it('should render successfully', () => {
8+
const { baseElement } = render(<AnimatedModal animation={ModalAnimation.Unfold} />);
9+
expect(baseElement).toBeTruthy();
10+
});
11+
});

0 commit comments

Comments
 (0)