summaryrefslogtreecommitdiffstats
path: root/test/react/ModalBody.spec.js
blob: d83c8995f0edc243ecbfd373de66c7827fa6ab88 (plain)
1
2
3
4
5
6
7
8
9
10
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();
	});
});