Skip to content

Commit

Permalink
rename tests for greater differentiation
Browse files Browse the repository at this point in the history
prettier fix on test file
  • Loading branch information
RODO94 committed Oct 11, 2024
1 parent 289e7bd commit b12694e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ test("allows negative numbers to be input when toggled on by editor", async () =
expect(handleSubmit).toHaveBeenCalledWith({ data: { fahrenheit: -10 } });
});

test("requires only whole numbers to be input when toggled on by editor", async () => {
test("a clear error is shown if decimal value added when onlyWholeNumbers is toggled on", async () => {
const handleSubmit = vi.fn();

const { user } = setup(
Expand All @@ -111,7 +111,7 @@ test("requires only whole numbers to be input when toggled on by editor", async
});
});

test("allows only whole numbers to be input when toggled on by editor", async () => {
test("allows only whole numbers to be submitted when toggled on by editor", async () => {
const handleSubmit = vi.fn();

const { user } = setup(
Expand Down

0 comments on commit b12694e

Please sign in to comment.