Skip to content

Commit c6ebc40

Browse files
[LEMS-3971/vector-pr2] Update test after fixing default coords
1 parent da4b606 commit c6ebc40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/perseus/src/widgets/interactive-graphs/reducer/initialize-graph-state.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,10 +694,10 @@ describe("initializeGraphState for vector graphs", () => {
694694

695695
// Assert
696696
invariant(graph.type === "vector");
697-
// Default: diagonal vector offset from axes
697+
// Default: 45° diagonal vector in the upper-right area of the graph
698698
expect(graph.coords).toEqual([
699-
[-5, 1],
700-
[5, 5],
699+
[2, 2],
700+
[7, 7],
701701
]);
702702
});
703703
});

0 commit comments

Comments
 (0)