aboutsummaryrefslogtreecommitdiffstats
path: root/test/react/ModalTitle.spec.js
blob: a8cf2a3ef8fc2a319f902c58f67cb20ab940aafb (plain)
1
2
3
4
5
6
7
8
9
10
11
import React from 'react';
import ModalTitle from '../../src/react/ModalTitle.js';

import renderer from 'react-test-renderer';

describe('ModalTitle', () => {
	test('basic test', () => {
	    const header = renderer.create(<ModalTitle>Title</ModalTitle>).toJSON();        
	    expect(header).toMatchSnapshot();
	});
});