Fix TS in the test

This commit is contained in:
Andrey Okonetchnikov committed 2022-06-23 15:40:16 +02:00
1 parent 3ddef62551
commit 2df94dba3b
1 file changed
+4 -1
@@ -1,4 +1,5 @@
import { renderHook, act } from "@testing-library/react-hooks";
import { SelectedInstanceData } from "~/shared/canvas-components";
import { usePropsLogic } from "./use-props-logic";
const selectedInstanceData = {
@@ -15,8 +16,10 @@ const selectedInstanceData = {
value: true,
},
],
instanceId: "2",
treeId: "1",
},
};
} as SelectedInstanceData;
describe("usePropsLogic", () => {
test("should return initial props for a given instance", () => {