Skip to content

Commit

Permalink
test: update class name
Browse files Browse the repository at this point in the history
  • Loading branch information
caro3801 committed Oct 16, 2024
1 parent bc94502 commit df94e68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/specs/components/Project/ProjectForm.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ describe('ProjectForm.vue', () => {
})

it('should show the delete button', async () => {
expect(wrapper.find('.project-form__action--delete').exists()).toBe(false)
expect(wrapper.find('.form-creation__action--delete').exists()).toBe(false)
await wrapper.setProps({ showDeleteButton: true })
expect(wrapper.find('.project-form__action--delete').exists()).toBe(true)
expect(wrapper.find('.form-creation__action--delete').exists()).toBe(true)
})
})
})

0 comments on commit df94e68

Please sign in to comment.