diff --git a/types/force-graph/force-graph-tests.ts b/types/force-graph/force-graph-tests.ts index 0956b1c85b..a47b551e11 100644 --- a/types/force-graph/force-graph-tests.ts +++ b/types/force-graph/force-graph-tests.ts @@ -90,5 +90,3 @@ graph // Test a property getter const nodeDraggingEnabled: boolean = graph.enableNodeDrag(); -if (typeof nodeDraggingEnabled !== "boolean") - throw new Error('ForceGraph.enableNodeDrag() did not return a result of type boolean as expected');