[improvement] Actionsheet: jsx (#2444)

This commit is contained in:
neverland
2019-01-05 21:37:43 +08:00
committed by GitHub
parent 72c57663de
commit f4160d7dd5
6 changed files with 111 additions and 121 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ test('callback events', () => {
}
});
const options = wrapper.findAll('li');
const options = wrapper.findAll('.van-actionsheet__item');
options.at(0).trigger('click');
options.at(1).trigger('click');
wrapper.find('.van-actionsheet__cancel').trigger('click');