Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Dec 21, 2023
1 parent f29ab7e commit 6a51e1e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
12 changes: 6 additions & 6 deletions test/__snapshots__/main-app.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`MainApp renders correctly 1`] = `
<main-app
current-page="1"
results-length="1589"
results-length="1595"
>
Expand Down Expand Up @@ -5183,16 +5183,16 @@ exports[`MainApp renders correctly 1`] = `
<search-status
results-length="1589"
results-length="1595"
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
<sort-by
results-length="1589"
results-length="1595"
sort-by="family"
>
<div
Expand Down Expand Up @@ -6507,7 +6507,7 @@ exports[`MainApp renders correctly 1`] = `
<pagination-buttons
current-page="1"
results-length="1589"
results-length="1595"
>
<button
class="btn"
Expand All @@ -6523,7 +6523,7 @@ exports[`MainApp renders correctly 1`] = `
class="page-count"
id="page-count"
>
1 of 159
1 of 160
</div>
Expand Down
50 changes: 25 additions & 25 deletions test/main-app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ describe("MainApp", () => {
expect(selectedCategory.value).toBe("display");
expect(document.querySelector("search-status")).toMatchInlineSnapshot(`
<search-status
results-length="398"
results-length="404"
selected-category="display"
>
<div>
Found 398 fonts:
Found 404 fonts:
</div>
Expand Down Expand Up @@ -253,11 +253,11 @@ describe("MainApp", () => {

expect(document.querySelector("search-status")).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
selected-tag=""
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand Down Expand Up @@ -331,11 +331,11 @@ describe("MainApp", () => {
const searchStatus = document.querySelector("search-status");
expect(searchStatus).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
selected-search=""
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand Down Expand Up @@ -390,10 +390,10 @@ describe("MainApp", () => {

expect(document.querySelector("search-status")).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand All @@ -415,11 +415,11 @@ describe("MainApp", () => {
const searchStatus = document.querySelector("search-status");
expect(searchStatus).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
selected-category=""
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand All @@ -441,11 +441,11 @@ describe("MainApp", () => {
const searchStatus = document.querySelector("search-status");
expect(searchStatus).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
selected-subset=""
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand All @@ -467,11 +467,11 @@ describe("MainApp", () => {
const searchStatus = document.querySelector("search-status");
expect(searchStatus).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
selected-variant=""
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand Down Expand Up @@ -631,15 +631,15 @@ describe("MainApp", () => {

expect(document.querySelector("search-status")).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
selected-category=""
selected-search=""
selected-subset=""
selected-tag=""
selected-variant=""
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand Down Expand Up @@ -718,10 +718,10 @@ describe("MainApp", () => {
const searchStatus = document.querySelector("search-status");
expect(searchStatus).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand All @@ -735,11 +735,11 @@ describe("MainApp", () => {
const searchStatus = document.querySelector("search-status");
expect(searchStatus).toMatchInlineSnapshot(`
<search-status
results-length="28"
results-length="30"
selected-tag="outline"
>
<div>
Found 28 fonts:
Found 30 fonts:
</div>
Expand Down Expand Up @@ -818,10 +818,10 @@ describe("MainApp", () => {
expect(checkboxVariable.checked).toBeFalsy();
expect(document.querySelector("search-status")).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand Down Expand Up @@ -895,10 +895,10 @@ describe("MainApp", () => {
const searchStatus = document.querySelector("search-status");
expect(searchStatus).toMatchInlineSnapshot(`
<search-status
results-length="1589"
results-length="1595"
>
<div>
Found 1589 fonts
Found 1595 fonts
</div>
</search-status>
`);
Expand All @@ -916,7 +916,7 @@ describe("MainApp", () => {
const sortBy = document.querySelector("sort-by");
expect(sortBy).toMatchInlineSnapshot(`
<sort-by
results-length="1589"
results-length="1595"
sort-by="date"
>
<div
Expand Down

0 comments on commit 6a51e1e

Please sign in to comment.