diff --git a/change/@microsoft-fast-html-lifecycle-callbacks-5f46fc65-6856-4182-b685-1c0c72b5b312.json b/change/@microsoft-fast-html-lifecycle-callbacks-5f46fc65-6856-4182-b685-1c0c72b5b312.json new file mode 100644 index 00000000000..8e3afd94000 --- /dev/null +++ b/change/@microsoft-fast-html-lifecycle-callbacks-5f46fc65-6856-4182-b685-1c0c72b5b312.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore(fast-html): use @microsoft/fast-build to build lifecycle-callbacks fixture", + "packageName": "@microsoft/fast-html", + "email": "7559015+janechu@users.noreply.github.com", + "dependentChangeType": "none" +} diff --git a/packages/fast-html/scripts/build-fixtures.js b/packages/fast-html/scripts/build-fixtures.js index 1c67530ba2a..bcf5fb25348 100644 --- a/packages/fast-html/scripts/build-fixtures.js +++ b/packages/fast-html/scripts/build-fixtures.js @@ -7,7 +7,7 @@ import { fileURLToPath } from "node:url"; // Builds test fixtures using @microsoft/fast-build. Add fixture names here // incrementally as each one is verified to work with the fast-build CLI. -const fixtures = ["attribute"]; +const fixtures = ["attribute", "lifecycle-callbacks"]; const __dirname = dirname(fileURLToPath(import.meta.url)); const require = createRequire(import.meta.url); diff --git a/packages/fast-html/test/fixtures/lifecycle-callbacks/entry.html b/packages/fast-html/test/fixtures/lifecycle-callbacks/entry.html new file mode 100644 index 00000000000..bdee10a0d90 --- /dev/null +++ b/packages/fast-html/test/fixtures/lifecycle-callbacks/entry.html @@ -0,0 +1,14 @@ + + +
+ +Count: 0
-Status: pending
- -Parent
-Count: {{count}}
-Status: {{status}}
-{{label}}
-Count: 0
+Status: pending
Parent
+Count: {{count}}
+Status: {{status}}
+{{label}}
+Count: {{count}}
+Status: {{status}}
+{{label}}
+