From 1ba9c8f6dc08d249aefc8780378f5fa859648b42 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Thu, 4 Jul 2024 11:58:11 +0200 Subject: [PATCH] refactor: Fix test assertion in AppBar component test --- frontend/src/components/AppBar/AppBar.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/AppBar/AppBar.test.tsx b/frontend/src/components/AppBar/AppBar.test.tsx index c53b6e6f2..3f13e577f 100644 --- a/frontend/src/components/AppBar/AppBar.test.tsx +++ b/frontend/src/components/AppBar/AppBar.test.tsx @@ -16,7 +16,7 @@ describe('AppBar', () => { const { getByText } = render(, { wrapper: Router }); const titleElement = getByText('Test Title'); - expect(document.body.contains(titleElement)).to.be.true; + expect(document.body.contains(titleElement)).toBe(true); }); it('renders logo as Link for relative URL', () => {