import assert from 'node:assert/strict'; import test from 'node:test'; import { renderToStaticMarkup } from 'react-dom/server'; import { TabBar } from '../components/layout/TabBar'; import { EpisodeList } from '../components/anime/EpisodeList'; test('TabBar renders Library instead of Anime for the media library tab', () => { const markup = renderToStaticMarkup( {}} />); assert.doesNotMatch(markup, />AnimeOverviewLibrary { const markup = renderToStaticMarkup( {}} />, ); assert.match(markup, />Details