Fixed tests after bootstrap 5 update

This commit is contained in:
Alejandro Celaya
2022-03-07 16:27:25 +01:00
parent 6346f82a0a
commit dcfb5ab054
10 changed files with 35 additions and 29 deletions

View File

@@ -95,7 +95,7 @@ describe('<QrCodeModal />', () => {
const firstCol = wrapper.find(Row).find(FormGroup).first();
expect(dropdownsLength).toEqual(expectedAmountOfDropdowns);
expect(firstCol.prop('className')).toEqual(expectedRangeClass);
expect(firstCol.prop('className')).toEqual(`d-grid ${expectedRangeClass}`);
});
it('saves the QR code image when clicking the Download button', () => {