Skip to content

Add test cases for recursion #1242

@catosaurusrex2003

Description

@catosaurusrex2003

Description

The existing tests in library/src/helpers/__tests__/schema.test.ts cover basic transformations (strings, numbers, arrays, objects) but do not test various kinds of recursions which can occur such as

  • True circular references
  • Same object in different branches
  • Deep nesting without circularity
  • Other edge cases

Expected result
The changes made in #1101 and #1241 should have appropriate test cases for them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions