File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ suite('include-fragment-element', function () {
213213 await el . data
214214 throw new Error ( 'el.data did not throw' )
215215 } catch ( error ) {
216- assert . match ( error , / t h e s e r v e r r e s p o n d e d w i t h a s t a t u s o f 4 0 6 / )
216+ assert . match ( error , / e x p e c t e d t e x t \/ h t m l b u t w a s t e x t \/ p l a i n / )
217217 }
218218 } )
219219
@@ -343,7 +343,7 @@ suite('include-fragment-element', function () {
343343 assert . equal ( event . bubbles , false )
344344 assert . equal ( event . cancelable , false )
345345 assert . instanceOf ( event . detail . error , Error )
346- assert . equal ( event . detail . error . message , 'Failed to load resource: the server responded with a status of 500 ' )
346+ assert . equal ( event . detail . error . message , 'Failed to load resource: expected text/html but was text/plain;charset=UTF-8 ' )
347347 } )
348348
349349 test ( 'adds is-error class on 500 status' , async function ( ) {
You can’t perform that action at this time.
0 commit comments