Skip to content

Add group factory functions for tests, add a groupSchema test

Alex Gleason requested to merge groupschema-tests into develop

Summary

  1. Add a test for the groupSchema with a fixture.
  2. Add jest/factory module with buildGroup and buildGroupRelationship

zod schemas will replace normalizers, but they handle parsing and validation at the same time. So instead of doing validation in reducers we have to use factory functions in tests that always pass validation.

Merge request reports

Loading