Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
14nrv authored Oct 3, 2020
2 parents 417c97e + 240e774 commit 5e0d8b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Questions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ describe('Questions', () => {
})

describe('toEmit', () => {
const eventName = 'isEditing'
const eventName = 'is-editing'
const selector = '.edit'
const action = () => trigger(selector)

test(action, 'toEmit', wrapper, eventName)
})

describe('toEmitWith', () => {
const eventName = 'isEditing'
const eventName = 'is-editing'
const eventValue = 40
const selector = '.edit'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Questions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
},
methods: {
edit () {
this.$emit('isEditing', 40)
this.$emit('is-editing', 40)
this.editing = true
},
fireObject () {
Expand Down

0 comments on commit 5e0d8b1

Please sign in to comment.