test: add Scanner component test suite (unit + integration) - 45 test cases covering rendering, callbacks, zoom, pause state, accessibility, and stability
This commit is contained in:
@@ -51,6 +51,14 @@ vi.mock('html5-qrcode', () => ({
|
||||
zoomRatios: [1, 2, 3, 4],
|
||||
}))
|
||||
},
|
||||
Html5QrcodeSupportedFormats: {
|
||||
QR_CODE: 'QR_CODE',
|
||||
CODE_128: 'CODE_128',
|
||||
CODE_39: 'CODE_39',
|
||||
EAN_13: 'EAN_13',
|
||||
UPC_A: 'UPC_A',
|
||||
DATA_MATRIX: 'DATA_MATRIX',
|
||||
},
|
||||
}))
|
||||
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user