feat: integrate tailwind v4 and daisyui packages with local css build pipeline

This commit is contained in:
Codex
2026-02-18 13:42:24 +00:00
parent 415c9d165a
commit 31e8e07319
10 changed files with 180 additions and 8 deletions

View File

@@ -91,6 +91,14 @@ test("GET / renders landing page", async () => {
assert.match(response.body, /From X Article to audiobook in one mention/);
});
test("GET /assets/styles.css serves compiled stylesheet", async () => {
const app = createApp();
const response = await call(app, { method: "GET", path: "/assets/styles.css" });
assert.equal(response.status, 200);
assert.match(response.headers["content-type"], /text\/css/);
assert.match(response.body, /\.btn/);
});
test("unauthenticated /app redirects to /login with returnTo", async () => {
const app = createApp();
const response = await call(app, { method: "GET", path: "/app" });