hooks tests
parent
9429cc78fb
commit
f18f31a63e
|
@ -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(() => ({
|
Loading…
Reference in New Issue