'use strict';

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _enzyme = require('enzyme');

var _Jso = require('./Jso.component');

var _Jso2 = _interopRequireDefault(_Jso);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var columnData = {
	id: 'my-column',
	label: 'My Test Check',
	onChange: jest.fn()
};

describe('Jso', function () {
	it('should render default render', function () {
		// when
		var wrapper = (0, _enzyme.shallow)(_react2.default.createElement(_Jso2.default, {
			cellData: true,
			columnData: columnData
		}));
		// then
		expect(wrapper.node).toMatchSnapshot();
	});
});