fix(editablelist): Remove spec warning

This commit is contained in:
Ben Gotow 2015-12-11 12:16:55 -08:00
parent 9eb3eb3297
commit fedb4197f8

View file

@ -48,7 +48,7 @@ describe('EditableList', ()=> {
});
it('does not enters editing mode when item is React Element', ()=> {
const item = <div></div>;
const item = <div key='2'></div>;
const list = makeList(['1', item]);
spyOn(list, 'setState');
list._onItemEdit({}, item, 1);