Skip to content

test(js2form): add regression test for nested table fields (issue #23)#90

Merged
maxatwork merged 1 commit intomasterfrom
codex/check-issue-23-and-add-tests
Feb 19, 2026
Merged

test(js2form): add regression test for nested table fields (issue #23)#90
maxatwork merged 1 commit intomasterfrom
codex/check-issue-23-and-add-tests

Conversation

@maxatwork
Copy link
Owner

@maxatwork maxatwork commented Feb 19, 2026

Motivation

Description

  • Added a test that reproduces the exact nested table/form structure (phone + nested #addressInfo table with address.* inputs) and asserts objectToForm populates all nested fields; the test is located at packages/js2form/test/js2form.test.ts.
  • No production source changes were required because current code already handles the scenario; this change is test-only to lock in expected behavior.

Testing

  • Ran npm run build:packages which completed successfully.
  • Ran npm -w @form2js/js2form test and the suite passed (8 tests passed for packages/js2form).

Codex Task


Summary by cubic

Adds a regression test for nested table fields (issue #23) to ensure objectToForm correctly populates phone and address.* inputs inside a nested #addressInfo table. Test-only change; no production code updates.

Written for commit c29aaf4. Summary will update on new commits.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@maxatwork maxatwork merged commit 8889390 into master Feb 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant