-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
packages/design-system/src/components/N8nNotice/__tests__/__snapshots__/Notice.spec.ts.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,28 +1,28 @@ | ||
// Vitest Snapshot v1 | ||
|
||
exports[`components > N8nNotice > props > content > should render correctly with content prop 1`] = ` | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_4m4il_1 _warning_4m4il_16\\"> | ||
<div class=\\"notice-content\\"><span class=\\"_size-small_9dlpz_24 _regular_9dlpz_5\\"><span id=\\"notice-content\\" role=\\"region\\" class=\\"_truncated_4m4il_41\\">This is a notice.</span> | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_bbch3_1 _warning_bbch3_17\\"> | ||
<div class=\\"notice-content\\"><span class=\\"_size-small_9dlpz_24 _regular_9dlpz_5\\"><span id=\\"notice-content\\" role=\\"region\\" class=\\"_truncated_bbch3_42\\">This is a notice.</span> | ||
<!----></span></div> | ||
</div>" | ||
`; | ||
exports[`components > N8nNotice > props > content > should render html 1`] = ` | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_4m4il_1 _warning_4m4il_16\\"> | ||
<div class=\\"notice-content\\"><span class=\\"_size-small_9dlpz_24 _regular_9dlpz_5\\"><span id=\\"notice-content\\" role=\\"region\\" class=\\"_truncated_4m4il_41\\"><strong>Hello world!</strong> This is a notice.</span> | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_bbch3_1 _warning_bbch3_17\\"> | ||
<div class=\\"notice-content\\"><span class=\\"_size-small_9dlpz_24 _regular_9dlpz_5\\"><span id=\\"notice-content\\" role=\\"region\\" class=\\"_truncated_bbch3_42\\"><strong>Hello world!</strong> This is a notice.</span> | ||
<!----></span></div> | ||
</div>" | ||
`; | ||
exports[`components > N8nNotice > props > content > should sanitize rendered html 1`] = ` | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_4m4il_1 _warning_4m4il_16\\"> | ||
<div class=\\"notice-content\\"><span class=\\"_size-small_9dlpz_24 _regular_9dlpz_5\\"><span id=\\"notice-content\\" role=\\"region\\" class=\\"_truncated_4m4il_41\\"> This is a notice.</span> | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_bbch3_1 _warning_bbch3_17\\"> | ||
<div class=\\"notice-content\\"><span class=\\"_size-small_9dlpz_24 _regular_9dlpz_5\\"><span id=\\"notice-content\\" role=\\"region\\" class=\\"_truncated_bbch3_42\\"> This is a notice.</span> | ||
<!----></span></div> | ||
</div>" | ||
`; | ||
exports[`components > N8nNotice > should render correctly 1`] = ` | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_4m4il_1 _warning_4m4il_16\\"> | ||
"<div id=\\"notice\\" role=\\"alert\\" class=\\"notice _notice_bbch3_1 _warning_bbch3_17\\"> | ||
<div class=\\"notice-content\\"><span class=\\"_size-small_9dlpz_24 _regular_9dlpz_5\\">This is a notice.</span></div> | ||
</div>" | ||
`; |