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