Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dashboard.spec.js: fix mock in createCampWithRole
This fixes the warnings happening in querySyncHelper.js: [Vue warn]: Error in mounted hook (Promise/async): "TypeError: Cannot read properties of undefined (reading 'allItems')" found in ---> <Dashboard> at /home/lucius/projects/ecamp/ecamp3/main/frontend/src/views/camp/Dashboard.vue <Root> TypeError: Cannot read properties of undefined (reading 'allItems') at /home/lucius/projects/ecamp/ecamp3/main/frontend/src/helpers/querySyncHelper.js:146:37 at Array.map (<anonymous>) at Module.loadAndProcessCollections (/home/lucius/projects/ecamp/ecamp3/main/frontend/src/helpers/querySyncHelper.js:146:6) at VueComponent.mounted (/home/lucius/projects/ecamp/ecamp3/main/frontend/src/views/camp/Dashboard.vue:373:1)
- Loading branch information