Skip to content

Commit

Permalink
lint and test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarMichalkiewicz committed Oct 9, 2023
1 parent f3a77ce commit 2666fed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/app/src/connecting/components/connecting.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ import { Provider } from "react-redux"
import store from "App/__deprecated__/renderer/store"

jest.mock("App/connecting/requests/register-first-phone-connection")

jest.mock("App/device-manager/listeners")
jest.mock("react-router", () => ({
useHistory: () => ({
push: jest.fn(),
}),
}))
type Props = ComponentProps<typeof Connecting>

const defaultProps: Props = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import {
import { IconType } from "App/__deprecated__/renderer/components/core/icon/icon-type"
import InputFileSelect from "App/contacts/components/sync-contacts-modal/input-file-select"
import { ipcRenderer } from "electron-better-ipc"
import { HelpActions } from "App/__deprecated__/common/enums/help-actions.enum"
import { BrowserActions } from "App/__deprecated__/common/enums/browser-actions.enum"

const messages = defineMessages({
Expand Down

0 comments on commit 2666fed

Please sign in to comment.