mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +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', ()=> {
|
||||
const item = <div></div>;
|
||||
const item = <div key='2'></div>;
|
||||
const list = makeList(['1', item]);
|
||||
spyOn(list, 'setState');
|
||||
list._onItemEdit({}, item, 1);
|
||||
|
|
Loading…
Reference in a new issue