This commit is contained in:
Tessa Kelly 2022-10-14 16:19:02 -06:00
parent afc843bc0d
commit 0dc817b2a0
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ import Nri.Ui.Fonts.V1 as Fonts
import Nri.Ui.Highlightable.V1 as Highlightable exposing (Highlightable)
import Nri.Ui.HighlighterTool.V1 as Tool
import Nri.Ui.Html.Attributes.V2 as AttributesExtra
import Nri.Ui.Html.V3 exposing (viewIf, viewJust)
import Nri.Ui.Html.V3 exposing (viewJust)
import Nri.Ui.MediaQuery.V1 as MediaQuery
import Sort exposing (Sorter)
import Sort.Set

View File

@ -227,7 +227,7 @@ ensureMarked words testContext =
testContext
|> ensureView
(Query.find [ Selector.tag "mark" ]
>> Query.children [ Selector.tag "span" ]
>> Query.children [ Selector.class "highlighter-highlightable" ]
>> Expect.all (List.indexedMap (\i w -> Query.index i >> Query.has [ Selector.text w ]) words)
)