Skip to content

The design language that makes your AI harness better at design.

JavaScript

fix(test): un-ignore fixture dist/ trees so they actually track

Paul Bakaus444f88129506
diff --git a/.gitignore b/.gitignore
index 9dc8a9d27..59a14bf60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,11 @@ package-lock.json
dist/
build/
+# Test fixtures simulate "generated dist" trees; keep them tracked so tests
+# can copy them into tmp git repos and assert is-generated behavior.
+!tests/framework-fixtures/**/dist/
+!tests/framework-fixtures/**/dist/**
+
# Build artifacts
*.log
diff --git a/tests/framework-fixtures/multipage-with-generator/files/dist/docs/one.html b/tests/framework-fixtures/multipage-with-generator/files/dist/docs/one.html
new file mode 100644
index 000000000..95549168e
--- /dev/null
+++ b/tests/framework-fixtures/multipage-with-generator/files/dist/docs/one.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html><head><title>Docs · One</title></head>
+<body>
+ <main class="page">
+ <h1 class="hero-title">Docs One</h1>
+ <p class="hero-hook">Generated docs page.</p>
+ </main>
+</body></html>
diff --git a/tests/framework-fixtures/multipage-with-generator/files/dist/index.html b/tests/framework-fixtures/multipage-with-generator/files/dist/index.html
new file mode 100644
index 000000000..a7b10c3dd
--- /dev/null
+++ b/tests/framework-fixtures/multipage-with-generator/files/dist/index.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html><head><title>Home</title></head>
+<body>
+ <main class="page">
+ <h1 class="hero-title">Home</h1>
+ <p class="hero-hook">Generated homepage.</p>
+ </main>
+</body></html>