Skip to content

Zag binding tests fail with missing Gea runtime symbols #67

Description

@aksuharun

Summary

The gea-ui Zag binding regression tests fail on current main before they reach the component behavior being tested.

Reproduction

Run:

npx tsx --test packages/gea-ui/tests/zag-bindings.test.ts

Actual Result

The tests fail during the manual source evaluation step. The first baseline failure is:

ReferenceError: GEA_UPDATE_PROPS is not defined

After providing that symbol, the same loader pattern also exposes missing compiler/runtime bindings such as:

ReferenceError: GEA_ON_PROP_CHANGE is not defined

Expected Result

The test harness should provide the local Gea runtime/compiler bindings needed by transformed component sources, so the tests can execute the real Zag-backed components.

Notes

The tests read component sources, strip import statements, and execute the transformed code with new Function(...).

Gea now uses symbol-based runtime internals exported from local core source files, but the test loader still injects only the older limited binding set. This makes the tests fail on main even before any DatePicker-specific changes are involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions