Ver Fonte

fix test

Caleb Porzio há 1 ano atrás
pai
commit
95be174e6e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tests/cypress/integration/plugins/sort.spec.js

+ 1 - 1
tests/cypress/integration/plugins/sort.spec.js

@@ -169,6 +169,6 @@ test('works with Livewire morphing',
         await get('#1').drag('#3')
 
         // This is the easiest way I can think of to assert the order of HTML comments doesn't change...
-        get('ul').should('have.html', `\n                <!-- [if BLOCK]><![endif] -->\n                \n                <li x-sort:item="" id="2" style="">bar</li>\n                <li x-sort:item="" id="3" style="">baz</li>\n                \n            <li x-sort:item="" id="1" draggable="false" class="" style="opacity: 1;">foo</li><!-- [if ENDBLOCK]><![endif] -->`)
+        get('ul').should('have.html', `\n                <!-- [if BLOCK]><![endif] -->\n                \n                <li id="2" style="">bar</li>\n                <li id="3" style="">baz</li>\n                \n            <li id="1" draggable="false" class="" style="opacity: 1;">foo</li><!-- [if ENDBLOCK]><![endif] -->`)
     },
 )