Skip to content

Commit

Permalink
test(app-uts): v-on 支持 prevent issues_15333
Browse files Browse the repository at this point in the history
  • Loading branch information
Otto-J committed Jan 21, 2025
1 parent f44e030 commit 332bdf7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ describe('compiler-dom: transform v-on', () => {
type: NodeTypes.JS_PROPERTY,
value: {
callee: V_ON_WITH_MODIFIERS,
arguments: [{ content: '_ctx.test' }, '["stop"]'],
arguments: [{ content: '_ctx.test' }, '["stop","prevent"]'],
},
})
expect(warnings).toEqual(['.prevent is not supported'])
expect(warnings).toEqual([])
})

it('should support multiple events and modifiers options w/ prefixIdentifiers: true', () => {
Expand Down

0 comments on commit 332bdf7

Please sign in to comment.