Skip to content

Commit

Permalink
Update plugin test snapshot
Browse files Browse the repository at this point in the history
The sorting and handling of newlines added by our
fixes means the plugin's own tests fail. This change
updates snapshots so the tests pass.
  • Loading branch information
Ed Campbell authored and David Fraser committed Apr 3, 2020
1 parent 63df84a commit 7edd022
Showing 1 changed file with 34 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,55 @@ exports[`toMatchSnapshot > toMatchSnapshot - json #0`] =

exports[`toMatchSnapshot > toMatchSnapshot - html #0`] = `
<div class="wrapper" data-test="test">
<h1>Lorem \\d Ipsum</h1>
<h1>
Lorem \\d Ipsum
</h1>
<p>
Lorem ipsum dolor sit amet, <a href="#">consectetur</a> adipiscing elit.
Integer dignissim, odio sed interdum porta, urna ex ultricies tellus, non
fringilla purus nulla nec augue. Vivamus eget iaculis lorem. Proin blandit
dictum enim, vitae efficitur arcu euismod a. Sed sodales nisi volutpat dui
convallis ullamcorper. Aenean eget semper metus. Curabitur quis imperdiet
lorem. Ut vitae mauris augue. Pellentesque habitant morbi tristique senectus
et netus et malesuada fames ac turpis egestas. Ut rhoncus augue et
scelerisque malesuada. Pellentesque bibendum sit amet tellus sit amet
pellentesque. Maecenas eu magna dapibus, tristique est nec, ornare libero.
Sed consectetur consequat nisi.
Lorem ipsum dolor sit amet,
<a href="#">
consectetur
</a>
adipiscing elit. Integer dignissim, odio sed interdum porta, urna ex
ultricies tellus, non fringilla purus nulla nec augue. Vivamus eget iaculis
lorem. Proin blandit dictum enim, vitae efficitur arcu euismod a. Sed
sodales nisi volutpat dui convallis ullamcorper. Aenean eget semper metus.
Curabitur quis imperdiet lorem. Ut vitae mauris augue. Pellentesque habitant
morbi tristique senectus et netus et malesuada fames ac turpis egestas. Ut
rhoncus augue et scelerisque malesuada. Pellentesque bibendum sit amet
tellus sit amet pellentesque. Maecenas eu magna dapibus, tristique est nec,
ornare libero. Sed consectetur consequat nisi.
</p>
<h2>Curabitur finibus quam</h2>
<h2>
Curabitur finibus quam
</h2>
<p>
Curabitur finibus quam quam, in viverra nulla dapibus sed. Praesent cursus
nec erat ut tempor. Donec pharetra rutrum aliquam. Mauris eget gravida quam.
Aenean sodales eros a <a href="#">felis lobortis</a> faucibus. Donec sed
luctus purus. Nullam nisi ipsum, scelerisque at felis eu, aliquam
condimentum ex. Quisque nec orci at justo faucibus maximus. Suspendisse
lobortis id mauris in pellentesque. Praesent et dolor ultricies, vestibulum
ipsum vel, auctor lacus. Nullam nec dui id arcu consectetur aliquam.
Aenean sodales eros a
<a href="#">
felis lobortis
</a>
faucibus. Donec sed luctus purus. Nullam nisi ipsum, scelerisque at felis
eu, aliquam condimentum ex. Quisque nec orci at justo faucibus maximus.
Suspendisse lobortis id mauris in pellentesque. Praesent et dolor ultricies,
vestibulum ipsum vel, auctor lacus. Nullam nec dui id arcu consectetur
aliquam.
</p>
</div>
`;

exports[`toMatchSnapshot > toMatchSnapshot - html escaping #0`] = `
<span class="input input--number input--required" id="input-element">
<input
type="number"
data-date-format="mm/dd/yyyy"
name="new_address.house_number"
value=""
pattern="\\d*"
required=""
data-date-format="mm/dd/yyyy"
type="number"
value=""
/>
</span>
`;

0 comments on commit 7edd022

Please sign in to comment.