UNPKG

@ehsaneha/react-media-query

Version:

A custom React hook that returns the current responsive breakpoint index or evaluates media query rules based on the window's width.

19 lines (15 loc) 366 B
import { createDefaultPreset } from "ts-jest"; const tsJestTransformCfg = createDefaultPreset().transform; /** @type {import("jest").Config} **/ module.exports = { testEnvironment: "jsdom", transform: { ...tsJestTransformCfg, }, }; // module.exports = { // testEnvironment: "jsdom", // transform: { // "^.+\.(ts|tsx)$": "ts-jest", // }, // };