Browse Source

test(swiper): modify error

suzigang 3 years ago
parent
commit
b354b77933
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/packages/__VUE/swiper/__tests__/index.spec.ts

+ 1 - 0
src/packages/__VUE/swiper/__tests__/index.spec.ts

@@ -39,6 +39,7 @@ test('should render width and height', async () => {
   });
 
   await nextTick();
+  await nextTick();
 
   const swiperItem = wrapper.findAll('.nut-swiper-inner')[0].element as HTMLElement;