mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-06 19:26:55 +08:00
fix(editablelist): Remove spec warning
This commit is contained in:
parent
9eb3eb3297
commit
fedb4197f8
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ describe('EditableList', ()=> {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('does not enters editing mode when item is React Element', ()=> {
|
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]);
|
const list = makeList(['1', item]);
|
||||||
spyOn(list, 'setState');
|
spyOn(list, 'setState');
|
||||||
list._onItemEdit({}, item, 1);
|
list._onItemEdit({}, item, 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue