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

import renderer from 'react-test-renderer';

describe('ModalFooter', () => {
	test('basic test', () => {
		const footer = renderer.create(<ModalFooter closeButtonText='Ok'/>).toJSON();        
		expect(footer).toMatchSnapshot();
	});
});