chore: prettier test files

This commit is contained in:
陈嘉涵
2020-01-19 16:16:54 +08:00
parent 82208c42b8
commit 2adcfd8b8b
15 changed files with 65 additions and 32 deletions
+8 -2
View File
@@ -70,11 +70,17 @@ test('change option', () => {
expect(wrapper).toMatchSnapshot();
triggerDrag(columns.at(0), 0, -100);
columns.at(0).find('ul').trigger('transitionend');
columns
.at(0)
.find('ul')
.trigger('transitionend');
expect(wrapper).toMatchSnapshot();
triggerDrag(columns.at(2), 0, -100);
columns.at(2).find('ul').trigger('transitionend');
columns
.at(2)
.find('ul')
.trigger('transitionend');
expect(wrapper).toMatchSnapshot();
expect(onChange.mock.calls[0][1]).toEqual(secondOption);