Merge pull request #5711 from Ocelot-Social-Community/clean-up-webapp-unit-tests

fix(webapp): clean up webapp unit tests
This commit is contained in:
Moriz Wahl 2022-11-28 11:28:20 +01:00 committed by GitHub
commit 300dd24151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,10 @@ const assignMock = jest.fn()
delete window.location
window.location = { assign: assignMock }
const openMock = jest.fn()
delete window.open
window.open = openMock
describe('donate.vue', () => {
let wrapper
let mocks

View File

@ -10,6 +10,10 @@ const assignMock = jest.fn()
delete window.location
window.location = { assign: assignMock }
const openMock = jest.fn()
delete window.open
window.open = openMock
describe('imprint.vue', () => {
let wrapper
let mocks

View File

@ -10,6 +10,10 @@ const assignMock = jest.fn()
delete window.location
window.location = { assign: assignMock }
const openMock = jest.fn()
delete window.open
window.open = openMock
describe('organization.vue', () => {
let wrapper
let mocks

View File

@ -10,6 +10,10 @@ const assignMock = jest.fn()
delete window.location
window.location = { assign: assignMock }
const openMock = jest.fn()
delete window.open
window.open = openMock
describe('support.vue', () => {
let wrapper
let mocks