Files
doormile-next/jest.setup.ts

5 lines
235 B
TypeScript

// Extends Jest's `expect` with DOM matchers (toBeInTheDocument, etc.) for any
// future component tests. Pure-function specs don't need it, but it's the
// standard Next.js + Testing Library setup.
import "@testing-library/jest-dom";