Skip to content

Commit

Permalink
Delete comments from $useState.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MaquinaTech authored Oct 27, 2024
1 parent 6083971 commit e071af0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/cypress/integration/magics/$useState.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ test('useState initializes state with the given initial value',
</div>
`,
({ get }) => {
cy.wait(1000) // Espera 1 segundo para asegurarte de que Alpine.js se haya inicializado
get('[x-data]').should(haveAttr('x-data', 'testValue'))
}
)
Expand All @@ -18,7 +17,6 @@ test('useState updates state correctly',
</div>
`,
({ get }) => {
cy.wait(1000) // Espera 1 segundo para asegurarte de que Alpine.js se haya inicializado
get('[x-data]').should(haveAttr('x-data', 'initialValue'))
get('button').click()
get('[x-data]').should(haveAttr('x-data', 'updatedValue'))
Expand All @@ -37,4 +35,4 @@ test('useState reacts to state changes',
get('button').click()
get('[x-data]').should(haveAttr('x-data', 'updatedValue'))
}
)
)

0 comments on commit e071af0

Please sign in to comment.