-
-
Notifications
You must be signed in to change notification settings - Fork 714
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
1 parent
52adc1c
commit 5b7d3f5
Showing
7 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
packages/volto/src/components/theme/Widgets/__snapshots__/HiddenWidget.test.jsx.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,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`TextWidget renders an empty hidden view widget component 1`] = `null`; |
25 changes: 25 additions & 0 deletions
25
packages/volto/src/components/theme/Widgets/__snapshots__/StaticTextWidget.test.jsx.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,25 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`StaticTextWidget renders a static text view widget component 1`] = ` | ||
<p | ||
className="metadata statictext widget" | ||
dangerouslySetInnerHTML={ | ||
Object { | ||
"__html": "<b>Foo bar</b>", | ||
} | ||
} | ||
/> | ||
`; | ||
|
||
exports[`StaticTextWidget renders a static text view widget component with children 1`] = ` | ||
<p | ||
className="metadata statictext widget" | ||
dangerouslySetInnerHTML={ | ||
Object { | ||
"__html": "<b>Foo bar</b>", | ||
} | ||
} | ||
/> | ||
`; | ||
|
||
exports[`StaticTextWidget renders an empty static text view widget component 1`] = `null`; |