mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
Fix TS in the test
This commit is contained in:
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", () => {
|
||||
|
||||
Reference in new issue
Block a user