[improvement] Tabs: use relation mixin

This commit is contained in:
陈嘉涵
2019-05-07 10:06:57 +08:00
parent 912d691f9e
commit c1da495cb7
4 changed files with 43 additions and 48 deletions

View File

@@ -88,6 +88,8 @@ test('swipe to switch tab', async () => {
test('change tabs data', async () => {
const wrapper = createWrapper();
await later();
expect(wrapper).toMatchSnapshot();
wrapper.setData({