Quellcode durchsuchen

Remove bad test

Caleb Porzio vor 3 Jahren
Ursprung
Commit
563ca5dfbf
1 geänderte Dateien mit 0 neuen und 10 gelöschten Zeilen
  1. 0 10
      tests/cypress/integration/directives/x-bind.spec.js

+ 0 - 10
tests/cypress/integration/directives/x-bind.spec.js

@@ -317,16 +317,6 @@ test('x-bind object syntax supports normal HTML attributes',
     }
     }
 )
 )
 
 
-test('x-bind object syntax ignores nested objects',
-    html`
-        <span x-data x-bind="{ foo: 'bar', bar: { baz: undefined, bob: undefined } }"></span>
-    `,
-    ({ get }) => {
-        get('span').should(haveAttribute('foo', 'bar'))
-        get('span').should(notHaveAttribute('bar', '[object Object]'))
-    }
-)
-
 test('x-bind object syntax supports normal HTML attributes mixed in with dynamic ones',
 test('x-bind object syntax supports normal HTML attributes mixed in with dynamic ones',
     html`
     html`
         <span x-data x-bind="{ 'x-bind:bob'() { return 'lob'; }, foo: 'bar', 'x-bind:bab'() { return 'lab' } }"></span>
         <span x-data x-bind="{ 'x-bind:bob'() { return 'lob'; }, foo: 'bar', 'x-bind:bab'() { return 'lab' } }"></span>