(title: string)
| 12 | import {afterEach, beforeEach, describe, expect, test, vi} from 'vitest'; |
| 13 | |
| 14 | const getDetails = (title: string): HTMLDetailsElement => { |
| 15 | const details = screen.getByText(title).closest('details'); |
| 16 | expect(details).not.toBeNull(); |
| 17 | return details as HTMLDetailsElement; |
| 18 | }; |
| 19 | |
| 20 | const getSummaryAction = (title: string, actionTitle: string): HTMLElement => { |
| 21 | const summary = screen.getByText(title).closest('summary'); |
no outgoing calls
no test coverage detected
searching dependent graphs…