reactable-search
Version:
Simple, fast, searchable React table component
18 lines (14 loc) • 404 B
JSX
import React from 'react';
import TestUtils from 'react-dom/test-utils';
import expect from 'expect';
import SearchTable from '../lib/SearchTable.jsx';
const rows = [
{a: 1, b: 2},
{a: 2, b: 3}
]
describe('SearchTable', function () {
it('renders without problems', function () {
const root = TestUtils.renderIntoDocument(<SearchTable rows={rows}/>);
expect(root).toBeTruthy();
});
});