diff options
Diffstat (limited to 'test/react/ModalHeader.spec.js')
-rw-r--r-- | test/react/ModalHeader.spec.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/react/ModalHeader.spec.js b/test/react/ModalHeader.spec.js new file mode 100644 index 0000000..e9d0602 --- /dev/null +++ b/test/react/ModalHeader.spec.js @@ -0,0 +1,11 @@ +import React from 'react'; +import ModalHeader from '../../src/react/ModalHeader.js'; + +import renderer from 'react-test-renderer'; + +describe('ModalHeader', () => { + test('basic test', () => { + const header = renderer.create(<ModalHeader/>).toJSON(); + expect(header).toMatchSnapshot(); + }); +});
\ No newline at end of file |