From 6acad81b05ddea82a9e316b368aac002cef18fdd Mon Sep 17 00:00:00 2001 From: gunshiz Date: Thu, 15 Oct 2026 00:57:34 +0700 Subject: [PATCH] test(preview) : match removed preview alert --- components/public/guide-page-shell.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/public/guide-page-shell.test.tsx b/components/public/guide-page-shell.test.tsx index 609a722..cf80c22 100644 --- a/components/public/guide-page-shell.test.tsx +++ b/components/public/guide-page-shell.test.tsx @@ -55,6 +55,6 @@ describe("shared guide navigation", () => { expect(html).toMatch(/]*aria-current="page"[^>]*href="\/admin\/raiden-key\/preview\/weapon"/); expect(html).toContain('href="/admin/raiden-key/preview/rotation"'); expect(html).not.toContain("/comment"); - expect(html).toContain("หน้านี้แสดงข้อมูลที่บันทึกล่าสุด"); + expect(html).not.toContain("หน้านี้แสดงข้อมูลที่บันทึกล่าสุด"); }); });