fix(specs) Fix react warning

This commit is contained in:
Juan Tejada 2017-02-09 16:56:29 -08:00
parent 61543a0c6e
commit d1f3c9c042
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom'
import {mount, shallow} from 'enzyme'
import {mount} from 'enzyme'
import {SelectableTable, EditableTableCell, EditableTable} from 'nylas-component-kit'
import {selection, cellProps, tableProps, testDataSource} from '../fixtures/table-data'
@ -103,7 +103,7 @@ describe('EditableTable Components', function describeBlock() {
describe('EditableTable', () => {
function renderTable(props) {
return shallow(
return mount(
<EditableTable
{...tableProps}
{...props}
@ -143,7 +143,7 @@ describe('EditableTable Components', function describeBlock() {
expect(table.prop('extraProps').InputRenderer).toBe(InputRenderer)
expect(table.prop('other')).toEqual('other')
expect(table.prop('CellRenderer')).toBe(EditableTableCell)
expect(table.hasClass('editable-table')).toBe(true)
expect(table.prop('className')).toEqual('editable-table')
});
});
});

2
src/K2

@ -1 +1 @@
Subproject commit 590a4499fea6bece4ef5da40ca8f1b4d74ba72f5
Subproject commit 3390bc0783d7f17906a6884e4d757876a337506f