mirror of https://github.com/ElemeFE/element
Tree: fix lazy expandOnChecked test
parent
1a1395aa8c
commit
24b29a2d09
|
@ -573,7 +573,7 @@ describe('Tree', () => {
|
||||||
label: 'zone' + this.count,
|
label: 'zone' + this.count,
|
||||||
id: this.count++
|
id: this.count++
|
||||||
}]);
|
}]);
|
||||||
}, 50);
|
}, 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -583,7 +583,7 @@ describe('Tree', () => {
|
||||||
const checkedKeys = tree.getCheckedKeys();
|
const checkedKeys = tree.getCheckedKeys();
|
||||||
expect(checkedKeys.length).to.equal(7);
|
expect(checkedKeys.length).to.equal(7);
|
||||||
done();
|
done();
|
||||||
}, 300);
|
}, 400);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('lazy without expandOnChecked', done => {
|
it('lazy without expandOnChecked', done => {
|
||||||
|
|
Loading…
Reference in New Issue