From 039980a3aed904551b5292c08a5527dd66a92f91 Mon Sep 17 00:00:00 2001 From: ynwd <10122431+ynwd@users.noreply.github.com> Date: Sun, 8 Mar 2026 16:39:52 +0700 Subject: [PATCH] test(tailwind): cleanup static/css/tailwind.css after tests --- middlewares/tailwind/tailwind.test.ts | 10 ++++++++++ static/css/tailwind.css | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) delete mode 100644 static/css/tailwind.css diff --git a/middlewares/tailwind/tailwind.test.ts b/middlewares/tailwind/tailwind.test.ts index f231e6bf..315624bf 100644 --- a/middlewares/tailwind/tailwind.test.ts +++ b/middlewares/tailwind/tailwind.test.ts @@ -79,6 +79,11 @@ Deno.test("tailwind middleware serves css in development when tailwind.css exist } catch (_) { // ignore } + try { + await Deno.remove(Deno.cwd() + "/static/css/tailwind.css"); + } catch (_) { + // ignore + } } }); @@ -143,6 +148,11 @@ Deno.test("tailwind middleware serves css from cache on second request", async ( } catch (_) { // ignore } + try { + await Deno.remove(Deno.cwd() + "/static/css/tailwind.css"); + } catch (_) { + // ignore + } } }); diff --git a/static/css/tailwind.css b/static/css/tailwind.css deleted file mode 100644 index a461c505..00000000 --- a/static/css/tailwind.css +++ /dev/null @@ -1 +0,0 @@ -@import "tailwindcss"; \ No newline at end of file