Improve preview by adding a background color.
This commit is contained in:
parent
4c8ec04954
commit
41c337668f
4 changed files with 41 additions and 9 deletions
|
|
@ -61,7 +61,8 @@ class KonsistPreviewTest {
|
|||
.functions()
|
||||
.withAllAnnotationsOf(PreviewsDayNight::class)
|
||||
.assertTrue {
|
||||
it.text.contains("ElementPreview")
|
||||
it.text.contains("ElementPreview") ||
|
||||
it.text.contains("ElementTimelineItemPreview")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue