-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3006 Add a news block with the day of the event / News support a List… (
#3055) * 3006 Add a news block with the day of the event / News support a List of programmed events * fix comment * Add code coverage * Fix predefined adoptiumNewsList
- Loading branch information
1 parent
f5e2584
commit ecb80e2
Showing
3 changed files
with
143 additions
and
39 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
src/components/AdoptiumNews/__tests__/__snapshots__/adoptiumNews.test.tsx.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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`AdoptiumNews component > renders correctly with provided news 1`] = ` | ||
<div> | ||
<div | ||
class="p-3 mt-4 mb-4 bg-light rounded-3 text-start" | ||
> | ||
<div | ||
class="container py-5" | ||
> | ||
<h2 | ||
class="text-pink" | ||
> | ||
Mocked News 1 | ||
</h2> | ||
<div> | ||
<p | ||
class="m-0 fw-bold" | ||
> | ||
September 10, 2024 | ||
</p> | ||
<p | ||
class="text-muted lh-sm" | ||
> | ||
Text | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="p-3 mt-4 mb-4 bg-light rounded-3 text-start" | ||
> | ||
<div | ||
class="container py-5" | ||
> | ||
<h2 | ||
class="text-pink" | ||
> | ||
Mocked News 2 | ||
</h2> | ||
<div> | ||
<p | ||
class="m-0 fw-bold" | ||
> | ||
September 10, 2024 | ||
</p> | ||
<p | ||
class="text-muted lh-sm" | ||
> | ||
Text | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`; |
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