WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit e071af0

Browse files
authored
Delete comments from $useState.spec.js
1 parent 6083971 commit e071af0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/cypress/integration/magics/$useState.spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ test('useState initializes state with the given initial value',
66
</div>
77
`,
88
({ get }) => {
9-
cy.wait(1000) // Espera 1 segundo para asegurarte de que Alpine.js se haya inicializado
109
get('[x-data]').should(haveAttr('x-data', 'testValue'))
1110
}
1211
)
@@ -18,7 +17,6 @@ test('useState updates state correctly',
1817
</div>
1918
`,
2019
({ get }) => {
21-
cy.wait(1000) // Espera 1 segundo para asegurarte de que Alpine.js se haya inicializado
2220
get('[x-data]').should(haveAttr('x-data', 'initialValue'))
2321
get('button').click()
2422
get('[x-data]').should(haveAttr('x-data', 'updatedValue'))
@@ -37,4 +35,4 @@ test('useState reacts to state changes',
3735
get('button').click()
3836
get('[x-data]').should(haveAttr('x-data', 'updatedValue'))
3937
}
40-
)
38+
)

0 commit comments

Comments
 (0)