-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
explorer: Update
@testing-library/svelte
to v5.x
- Updated dependencies Resolves #1845
- Loading branch information
1 parent
b32f533
commit 514c8fb
Showing
34 changed files
with
16,909 additions
and
25,311 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 8 additions & 10 deletions
18
explorer/src/lib/components/__tests__/__snapshots__/AppAnchorButton.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`AppAnchorButton > should render an \`AnchorButton\` with the base path prepended to the \`href\` attribute, if the \`href\` represents an absolute URL 1`] = ` | ||
<div> | ||
<a | ||
aria-disabled="false" | ||
class="dusk-anchor dusk-anchor--on-surface dusk-anchor-button dusk-anchor-button--variant--primary dusk-anchor-button--size--normal foo bar" | ||
href="/some-base-path/setup" | ||
id="some-id" | ||
> | ||
</a> | ||
</div> | ||
<a | ||
aria-disabled="false" | ||
class="dusk-anchor dusk-anchor--on-surface dusk-anchor-button dusk-anchor-button--variant--primary dusk-anchor-button--size--normal foo bar" | ||
href="/some-base-path/setup" | ||
id="some-id" | ||
> | ||
</a> | ||
`; |
16 changes: 7 additions & 9 deletions
16
explorer/src/lib/components/__tests__/__snapshots__/AppImage.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`AppImage > should render an HTML image forwarding all attributes but with the base path prepended to the \`src\` if it's an absolute URL 1`] = ` | ||
<div> | ||
<img | ||
alt="Some alternative text" | ||
class="foo bar" | ||
height="600" | ||
src="/some-base-path/images/some-image.jpg" | ||
width="800" | ||
/> | ||
</div> | ||
<img | ||
alt="Some alternative text" | ||
class="foo bar" | ||
height="600" | ||
src="/some-base-path/images/some-image.jpg" | ||
width="800" | ||
/> | ||
`; |
32 changes: 14 additions & 18 deletions
32
explorer/src/lib/components/__tests__/__snapshots__/AppSource.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`AppSource > src attribute > should render a source element forwarding all attributes but with the base path prepended to the \`src\` if it's an absolute URL 1`] = ` | ||
<div> | ||
<source | ||
data-foo="bar" | ||
height="600" | ||
src="/some-base-path/images/some-image.jpg" | ||
type="image/jpeg" | ||
width="800" | ||
/> | ||
</div> | ||
<source | ||
data-foo="bar" | ||
height="600" | ||
src="/some-base-path/images/some-image.jpg" | ||
type="image/jpeg" | ||
width="800" | ||
/> | ||
`; | ||
|
||
exports[`AppSource > srcset attribute > should render a source element forwarding all attributes but with the base path prepended to absolute URLs in the \`srcset\` 1`] = ` | ||
<div> | ||
<source | ||
data-foo="bar" | ||
height="600" | ||
srcset="/some-base-path/images/some-image.jpg 1.5x" | ||
type="image/jpeg" | ||
width="800" | ||
/> | ||
</div> | ||
<source | ||
data-foo="bar" | ||
height="600" | ||
srcset="/some-base-path/images/some-image.jpg 1.5x" | ||
type="image/jpeg" | ||
width="800" | ||
/> | ||
`; |
Oops, something went wrong.