Skip to content

Commit

Permalink
pat-inject tests: Minor formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Oct 24, 2024
1 parent b55827c commit da5703c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pat/inject/inject.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1028,12 +1028,12 @@ describe("pat-inject", function () {

it("9.2.4.2 - pass submit button value in ajax call as data when clicked on a dom node within the submit button", async function () {
document.body.innerHTML = `
<form class="pat-inject" action="test.html#someid" method="post">
<button name="submit" value="label">
<span>label</span>
</button>
</form>
`;
<form class="pat-inject" action="test.html#someid" method="post">
<button name="submit" value="label">
<span>label</span>
</button>
</form>
`;

const form = document.querySelector("form");
const label = document.querySelector("form button span");
Expand Down

0 comments on commit da5703c

Please sign in to comment.