Skip to content

Commit 58a4671

Browse files
committed
removes erroneous event listener
1 parent 688561f commit 58a4671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ describe('paste-markdown', function () {
226226
</table>
227227
`
228228
}
229-
textarea.addEventListener('keydown', dispatchSkipFormattingKeyEvent(textarea))
229+
dispatchSkipFormattingKeyEvent(textarea)
230230
paste(textarea, data)
231231
assertUnformattedPaste(textarea)
232232
})

0 commit comments

Comments
 (0)