MCPcopy Create free account
hub / github.com/dailydotdev/apps / lit

Function lit

packages/shared/src/components/shell/ExploreSegments.spec.tsx:10–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const labels = () =>
9 screen.getAllByRole('link').map((link) => link.textContent?.trim());
10const lit = () =>
11 screen
12 .getAllByRole('link')
13 .find((link) => link.getAttribute('aria-current') === 'page')
14 ?.textContent?.trim();
15
16describe('ExploreSegments', () => {
17 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected