MESH-Research / Pilcrow

A web application for Collaborative Community Review
https://pilcrow.meshresearch.dev/
GNU Lesser General Public License v3.0
4 stars 3 forks source link

Add unit tests for submission creation #832

Open wreality opened 2 years ago

wreality commented 2 years ago

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

Review Checklist

sattler9 commented 2 years ago

Hey team! Please add your planning poker estimate with ZenHub @gmeben @Sruthin86 @wreality