feat: integrate tailwind v4 and daisyui packages with local css build pipeline
This commit is contained in:
@@ -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" });
|
||||
|
||||
Reference in New Issue
Block a user