Skip to content

fix(angular): unify preact signals instance and make tests headless#982

Merged
ava-cassiopeia merged 6 commits intogoogle:mainfrom
gspencergoog:fix/angular-preact-unify
Mar 25, 2026
Merged

fix(angular): unify preact signals instance and make tests headless#982
ava-cassiopeia merged 6 commits intogoogle:mainfrom
gspencergoog:fix/angular-preact-unify

Conversation

@gspencergoog
Copy link
Copy Markdown
Collaborator

Description

Fixes the export of signals so it comes from web_core instead of preact, because it caused duplicate definitions and tests were failing. Not sure why that wasn't caught in CI...

Also switched the a2ui_explorer example tests to use Jasmine instead of vitest, since the other tests are Jasmine tests, for consistency.

Made the tests run headless, since there's no value in seeing them run (and it steals focus if you're trying to work, and doesn't work over ssh).

gemini-code-assist[bot]

This comment was marked as resolved.

The MessageProcessor now relies on a 'version' signal used to trigger change detection for in-place data mutations, thus requiring the 'version' property to also be mocked in tests. This fix resolves failing tests in surface.spec.ts, row-integration.spec.ts, and v0_8_integration.spec.ts.
@gspencergoog gspencergoog force-pushed the fix/angular-preact-unify branch from 3ed1ad7 to 1d1ee6a Compare March 25, 2026 20:47
@ava-cassiopeia ava-cassiopeia merged commit 2b20241 into google:main Mar 25, 2026
12 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in A2UI Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants