UNPKG

@qazuor/react-hooks

Version:

A comprehensive collection of production-ready React hooks for modern web applications. Features type-safe implementations, extensive testing, and zero dependencies. Includes hooks for state management, browser APIs, user interactions, and development uti

21 lines (19 loc) 547 B
import type { Config } from 'jest'; export default async (): Promise<Config> => { return { moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], coverageDirectory: 'coverage', testMatch: ['**/tests/**/*.test.(ts|tsx)'], // verbose: true, // fakeTimers: { // legacyFakeTimers: true // } testEnvironment: 'jsdom', transform: { '^.+\\.(ts|tsx)$': 'ts-jest' }, fakeTimers: { legacyFakeTimers: true } }; };