UNPKG

@testing-library/react-hooks

Version:

Simple and complete React hooks testing utilities that encourage good testing practices.

15 lines (11 loc) 282 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimeoutError = void 0; class TimeoutError extends Error { constructor(util, timeout) { super(`Timed out in ${util.name} after ${timeout}ms.`); } } exports.TimeoutError = TimeoutError;