hooks tests

master
Tudor Stanciu 2023-02-12 01:04:19 +02:00
parent 9429cc78fb
commit f18f31a63e
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import { renderHook, act } from "@testing-library/react-hooks"; import { renderHook, act } from "@testing-library/react-hooks";
import { TuitioClient } from "@flare/tuitio-client"; import { TuitioClient } from "@flare/tuitio-client";
import { useTuitioClient } from "../src/hooks"; import { useTuitioClient } from "../../src/hooks";
jest.mock("@flare/tuitio-client", () => ({ jest.mock("@flare/tuitio-client", () => ({
TuitioClient: jest.fn().mockImplementation(() => ({ TuitioClient: jest.fn().mockImplementation(() => ({