diff --git a/client/src/components/TOTP/Verify.js b/client/src/components/TOTP/Verify.js index 6ea1c3e..9cec39c 100644 --- a/client/src/components/TOTP/Verify.js +++ b/client/src/components/TOTP/Verify.js @@ -110,7 +110,6 @@ class Verify extends Component { ); } - /** * If there is a configured support link, will render a link to the TOTP authenticator's * support documentation (e.g. userhelp). diff --git a/client/src/components/TOTP/tests/Register-test.js b/client/src/components/TOTP/tests/Register-test.js index b3486d9..73c5c42 100644 --- a/client/src/components/TOTP/tests/Register-test.js +++ b/client/src/components/TOTP/tests/Register-test.js @@ -1,8 +1,8 @@ /* global jest, test, expect */ import React from 'react'; -import { Component as Register } from '../Register'; import { render, screen, fireEvent } from '@testing-library/react'; +import { Component as Register } from '../Register'; window.ss = { i18n: { _t: (key, string) => string }, diff --git a/client/src/components/TOTP/tests/Verify-test.js b/client/src/components/TOTP/tests/Verify-test.js index 010f500..5424cd2 100644 --- a/client/src/components/TOTP/tests/Verify-test.js +++ b/client/src/components/TOTP/tests/Verify-test.js @@ -1,8 +1,8 @@ /* global jest, test, expect */ import React from 'react'; -import Verify from '../Verify'; import { render, screen, fireEvent } from '@testing-library/react'; +import Verify from '../Verify'; window.ss = { i18n: {