Skip to content

Commit

Permalink
chore: remove deleted import of file
Browse files Browse the repository at this point in the history
  • Loading branch information
muratmerdoglu-dp committed Sep 20, 2024
1 parent 9d23e8a commit 7396ac5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/modules/data/board/Board.store.unit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ import { envConfigModule } from "@/store";
import EnvConfigModule from "@/store/env-config";
import { cardResponseFactory } from "@@/tests/test-utils/factory/cardResponseFactory";
import setupStores from "@@/tests/test-utils/setupStores";
import {
useCardStore,
// useSetFocusPrevious,
useSocketConnection,
} from "@data-board";
import { useCardStore, useSocketConnection } from "@data-board";
import { useBoardRestApi } from "./boardActions/boardRestApi.composable";
import { useBoardSocketApi } from "./boardActions/boardSocketApi.composable";
import { mockedPiniaStoreTyping } from "@@/tests/test-utils";
Expand Down Expand Up @@ -72,7 +68,6 @@ describe("BoardStore", () => {
let mockedCardSocketApiActions: DeepMocked<
ReturnType<typeof useCardSocketApi>
>;
let useSetFocusPrevious: jest.Mock;
let setEditModeId: jest.Mock;

beforeEach(() => {
Expand Down Expand Up @@ -106,8 +101,6 @@ describe("BoardStore", () => {
setEditModeId,
editModeId: ref(undefined),
});
useSetFocusPrevious = jest.fn();
useSetFocusPrevious.mockReturnValue({ mockedFocusPrevious });

mockUseSharedLastCreatedElement.mockReturnValue({
lastCreatedElementId: computed(() => "element-id"),
Expand Down Expand Up @@ -367,7 +360,6 @@ describe("BoardStore", () => {

expect(firstCardIdAfterDeletion).not.toEqual(firstCardId);
expect(firstCardIdAfterDeletion).toEqual(secondCardId);
expect(mockFocusPrevious).toHaveBeenCalled();
});
});

Expand Down

0 comments on commit 7396ac5

Please sign in to comment.