Refactor + improve test coverage for QR login (#9525)

This commit is contained in:
Hugh Nimmo-Smith 2022-11-02 11:51:20 +01:00 committed by GitHub
parent 9096bd82d6
commit f05cc5d8f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 1604 additions and 774 deletions

View file

@ -56,7 +56,7 @@ describe('<LoginWithQRSection />', () => {
const defaultProps = {
onShowQr: () => {},
versions: undefined,
versions: makeVersions({}),
};
const getComponent = (props = {}) =>