(path: string, exports: Record<any, any>)
| 225 | |
| 226 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 227 | export function checkExports(path: string, exports: Record<any, any>): void { |
| 228 | it('has declared exports', () => { |
| 229 | // eslint-disable-next-line @typescript-eslint/no-var-requires |
| 230 | const mod = require(`../${path}`) |
| 231 | expect(mod).toSetExports(exports) |
| 232 | }) |
| 233 | } |
| 234 | |
| 235 | expect.extend(toHaveNoViolations) |
| 236 | export function checkStoriesForAxeViolations(name: string, storyDir?: string) { |
no outgoing calls
no test coverage detected