Skip to content

Commit

Permalink
Add test case that would've failed before last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
imnasnainaec committed Aug 8, 2024
1 parent ea579d8 commit 84d0602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TreeView/tests/TreeSearch.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ describe("TreeSearch", () => {
});

describe("insertDecimalPoints", () => {
test.each(["a", "1a", "1", "1.", "1.0", "1.2.3.", "1..2", ".123"])(
test.each(["a", "1a", "1", "1.", "1.0", "1-2", "1..2", "1.2.3.", ".123"])(
"does not change",
(input) => {
expect(insertDecimalPoints(input)).toBe(input);
Expand Down

0 comments on commit 84d0602

Please sign in to comment.