Browse Source

fix(presentation): add generate:marpit-base-css to test task deps in turbo.json

Vite's import-analysis resolves module paths before vi.mock can intercept,
so the prebuilt CSS file must exist on disk for the test to pass in CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Yuki Takei 2 days ago
parent
commit
e069a57523
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/presentation/turbo.json

+ 4 - 0
packages/presentation/turbo.json

@@ -22,6 +22,10 @@
     },
     "lint": {
       "dependsOn": ["generate:marpit-base-css"]
+    },
+    "test": {
+      "dependsOn": ["generate:marpit-base-css"],
+      "outputLogs": "new-only"
     }
   }
 }