From 5c574a6384b2cefbf7938b2ec8920c087e6bde45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8A=E3=81=95=E3=82=80=E3=81=AE=E3=81=B2=E3=81=A8?= <46447427+samunohito@users.noreply.github.com> Date: Sun, 23 Feb 2025 08:03:29 +0900 Subject: [PATCH] fix tests --- packages/frontend/test/home.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/frontend/test/home.test.ts b/packages/frontend/test/home.test.ts index b70edc6ac1..a67ea40176 100644 --- a/packages/frontend/test/home.test.ts +++ b/packages/frontend/test/home.test.ts @@ -42,8 +42,6 @@ describe('XHome', () => { const anchor = home.container.querySelector('a[href^="https://example.com/"]'); assert.exists(anchor, 'anchor to the remote exists'); assert.strictEqual(anchor?.href, 'https://example.com/@user/profile'); - - assert.ok(anchor?.parentElement?.classList.contains('warn'), 'the parent is a warning'); }); test('The remote caution should fall back to uri if url is null', async () => {