jest-dom.d.ts333 BView on GitHub
// `tsconfig.json` pins `types` to ["node", "vite/client", "jest"], so the jest-dom matcher
// augmentation is never picked up automatically, and jest.setup.js (a .js file) is outside
// `include`. This reference pulls `expect(...).toBeInTheDocument()` & friends into the program.
/// <reference types="@testing-library/jest-dom" />