From dec5b5fc51337868418f079d0da9ec21bfb269b4 Mon Sep 17 00:00:00 2001 From: Peter Kimberley Date: Mon, 4 Feb 2019 21:17:13 +1100 Subject: [PATCH] Update tests --- types/force-graph/force-graph-tests.ts | 2 -- 1 file changed, 2 deletions(-) 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');