File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import { mount } from '@vue/test-utils' ;
2- import { QRCode , TdQRCodeProps } from '../index' ;
2+ import { QRCode } from '../index' ;
33
44describe ( 'QRCode' , ( ) => {
55 describe ( 'props' , ( ) => {
@@ -64,7 +64,7 @@ describe('QRCode', () => {
6464
6565 it ( ':iconSize[number|object]-svg' , async ( ) => { } ) ;
6666
67- const level : TdQRCodeProps [ 'level' ] [ ] = [ 'L' , 'M' , 'Q' , 'H' ] ;
67+ const level = [ 'L' , 'M' , 'Q' , 'H' ] ;
6868 level . forEach ( ( item ) => {
6969 it ( `:level[string]-[${ item } ]` , async ( ) => {
7070 const wrapper = mount ( {
@@ -88,7 +88,7 @@ describe('QRCode', () => {
8888 ) ;
8989 } ) ;
9090
91- const status : TdQRCodeProps [ 'status' ] [ ] = [ 'expired' , 'loading' , 'scanned' ] ;
91+ const status = [ 'expired' , 'loading' , 'scanned' ] ;
9292 status . forEach ( ( item ) => {
9393 it ( `:status[string]-[${ item } ]` , async ( ) => {
9494 const wrapper = mount ( {
You can’t perform that action at this time.
0 commit comments