Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Mar 12, 2024
1 parent 6768b08 commit 7a7d733
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/victory-core/src/victory-util/add-events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import isEqual from "react-fast-compare";
import { VictoryLabelableProps } from "../types/prop-types";
import { VictoryTransition } from "../victory-transition/victory-transition";
import { VictoryCommonProps, VictoryDatableProps } from "./common-props";
import { difference } from './collection';
import { difference } from "./collection";
import type { ComponentEvent } from "./events";
import * as Events from "./events";
import { isFunction, isNil } from "./helpers";
Expand Down
4 changes: 3 additions & 1 deletion packages/victory-core/src/victory-util/collection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ describe("victory-util/collection", () => {
});

it("returns the difference between two unequal arrays", () => {
expect(Collection.difference([1, 2, 3, 4, 5], [5, 2, 10])).toEqual([1, 3, 4]);
expect(Collection.difference([1, 2, 3, 4, 5], [5, 2, 10])).toEqual([
1, 3, 4,
]);
});
});

Expand Down

0 comments on commit 7a7d733

Please sign in to comment.