mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Revert unintended changes to ContributionForm.spec
This commit is contained in:
parent
851babeac3
commit
5eb42830fd
@ -258,7 +258,7 @@ describe('ContributionForm.vue', () => {
|
||||
|
||||
describe('cancel', () => {
|
||||
it('calls $router.back() when cancel button clicked', () => {
|
||||
cancelBtn = wrapper.find('.cancel-button')
|
||||
cancelBtn = wrapper.find('[data-test="cancel-button"]')
|
||||
cancelBtn.trigger('click')
|
||||
expect(mocks.$router.back).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user