@@ -102,13 +102,13 @@ test("Maintains correct order of Map objects when hydrating", async ({
102
102
let app = new PlaywrightFixture ( appFixture , page ) ;
103
103
// You can test any request your app might get using `fixture`.
104
104
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> " ) ;
106
106
107
107
// If you need to test interactivity use the `app`
108
108
await app . goto ( "/map" , true ) ;
109
109
110
110
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> " ) ;
112
112
113
113
// If you're not sure what's going on, you can "poke" the app, it'll
114
114
// 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 ({
122
122
} ) => {
123
123
let app = new PlaywrightFixture ( appFixture , page ) ;
124
124
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> " ) ;
126
126
127
127
await app . goto ( "/set" , true ) ;
128
128
129
129
let html = await app . getHtml ( ) ;
130
- expect ( html ) . toMatch ( "[1,2,3]" ) ;
130
+ expect ( html ) . toMatch ( "<div> [1,2,3]</div> " ) ;
131
131
} ) ;
132
132
133
133
////////////////////////////////////////////////////////////////////////////////
0 commit comments