Skip to content

chore(fast-html): use @microsoft/fast-build to build event fixture#7377

Merged
janechu merged 4 commits intomainfrom
users/janechu/update-fixture-to-use-fast-build-event
Apr 6, 2026
Merged

chore(fast-html): use @microsoft/fast-build to build event fixture#7377
janechu merged 4 commits intomainfrom
users/janechu/update-fixture-to-use-fast-build-event

Conversation

@janechu
Copy link
Copy Markdown
Collaborator

@janechu janechu commented Apr 4, 2026

Uses @microsoft/fast-build to generate the index.html for the event test fixture in @microsoft/fast-html.

@janechu janechu marked this pull request as ready for review April 6, 2026 20:58
@janechu janechu requested a review from Copilot April 6, 2026 21:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the @microsoft/fast-html event Playwright fixture to be generated via @microsoft/fast-build, aligning it with the newer fixture build workflow used by other fixtures in this package.

Changes:

  • Adds entry.html, templates.html, and state.json inputs for the event fixture.
  • Replaces the event fixture’s index.html with fast-build output and injected <f-template> declarations.
  • Includes event in packages/fast-html/scripts/build-fixtures.js’s fixture build list and adds a Beachball change file.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/fast-html/test/fixtures/event/templates.html Adds the event-binding template source used for fixture generation.
packages/fast-html/test/fixtures/event/state.json Adds fixture state used for rendering (foo: bar).
packages/fast-html/test/fixtures/event/entry.html Adds the entry HTML used by fast-build to generate index.html.
packages/fast-html/test/fixtures/event/index.html Updates fixture output to fast-build generated HTML plus injected templates.
packages/fast-html/scripts/build-fixtures.js Adds event to the fast-build fixture generation list.
change/@microsoft-fast-html-event-26bc183e-be69-4199-a9f7-1cdd8a87d25e.json Records the change for Beachball/versioning.

janechu and others added 2 commits April 6, 2026 16:31
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@janechu janechu merged commit d0e8be5 into main Apr 6, 2026
11 of 14 checks passed
@janechu janechu deleted the users/janechu/update-fixture-to-use-fast-build-event branch April 6, 2026 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants