Skip to content

Commit

Permalink
Enable preventDefault failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
afontcu committed Aug 13, 2019
1 parent 2285c65 commit 32aad7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/vue/type.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ describe("userEvent.type", () => {
userEvent.type(getByTestId("input"), text);
expect(keydown).toHaveBeenCalledTimes(text.length);
expect(change).toHaveBeenCalledTimes(0);
// expect(input).toHaveBeenCalledTimes(0);
// expect(getByTestId("input")).not.toHaveProperty("value", text);
expect(input).toHaveBeenCalledTimes(0);
expect(getByTestId("input")).not.toHaveProperty("value", text);
});

it("should delay the typing when opts.delay is not 0", async () => {
Expand Down

0 comments on commit 32aad7e

Please sign in to comment.