Skip to content

Commit

Permalink
Merge branch 'kendallg/add-event-detail-eventType' into update-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJDev committed Mar 29, 2024
2 parents d5c2195 + b5e7c4f commit 14fc992
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,9 @@ describe('remote-input', function () {

it('check eventType', async function () {
const result = new Promise((resolve) => {
remoteInput.addEventListener(
'remote-input-success',
(event) => {
resolve(event)
},
{ once: true }
)
remoteInput.addEventListener('remote-input-success', (event) => {
resolve(event)
})
})
changeValue(input, 'test')

Expand Down

0 comments on commit 14fc992

Please sign in to comment.