@@ -102,13 +102,13 @@ test("Maintains correct order of Map objects when hydrating", async ({
102102 let app = new PlaywrightFixture ( appFixture , page ) ;
103103 // You can test any request your app might get using `fixture`.
104104 let response = await fixture . requestDocument ( "/map" ) ;
105- expect ( await response . text ( ) ) . toMatch ( "[[1,1],[2,2],[3,3]]" ) ;
105+ expect ( await response . text ( ) ) . toMatch ( "<div> [[1,1],[2,2],[3,3]]</div> " ) ;
106106
107107 // If you need to test interactivity use the `app`
108108 await app . goto ( "/map" , true ) ;
109109
110110 let html = await app . getHtml ( ) ;
111- expect ( html ) . toMatch ( "[[1,1],[2,2],[3,3]]" ) ;
111+ expect ( html ) . toMatch ( "<div> [[1,1],[2,2],[3,3]]</div> " ) ;
112112
113113 // If you're not sure what's going on, you can "poke" the app, it'll
114114 // automatically open up in your browser for 20 seconds, so be quick!
@@ -122,12 +122,12 @@ test("Maintains correct order of Set objects when hydrating", async ({
122122} ) => {
123123 let app = new PlaywrightFixture ( appFixture , page ) ;
124124 let response = await fixture . requestDocument ( "/set" ) ;
125- expect ( await response . text ( ) ) . toMatch ( "[1,2,3]" ) ;
125+ expect ( await response . text ( ) ) . toMatch ( "<div> [1,2,3]</div> " ) ;
126126
127127 await app . goto ( "/set" , true ) ;
128128
129129 let html = await app . getHtml ( ) ;
130- expect ( html ) . toMatch ( "[1,2,3]" ) ;
130+ expect ( html ) . toMatch ( "<div> [1,2,3]</div> " ) ;
131131} ) ;
132132
133133////////////////////////////////////////////////////////////////////////////////
0 commit comments