src/pages/Submission.jest.spec does not assert anything regarding the submission form that exists on that page.
Goal/What
The create submission functionality is covered by the unit testing suite and the create submission form should be implemented as a child component.
Solution/How
Extract the create new submission form into a new component and write appropriate unit tests to ensure that the new submission functionality is tested,
To Do / Acceptance Criteria
[ ] Extract form to new src/components/forms/UserCreateSubmissionForm.vue
[ ] Write unit tests for UserCreateSubmissionForm
[ ] Update SubmissionPage to use new component
[ ] Update SubmissionPage.spec.jest.js to mock create submission mutation and assert results.
Problem/Why
src/pages/Submission.jest.spec
does not assert anything regarding the submission form that exists on that page.Goal/What
The create submission functionality is covered by the unit testing suite and the create submission form should be implemented as a child component.
Solution/How
Extract the create new submission form into a new component and write appropriate unit tests to ensure that the new submission functionality is tested,
To Do / Acceptance Criteria
src/components/forms/UserCreateSubmissionForm.vue
Review Checklist