UNPKG

ts-jest

Version:

A preprocessor with source maps support to help use TypeScript with Jest

10 lines (9 loc) 498 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_JEST_TEST_MATCH = exports.JSON_REGEX = exports.JS_JSX_REGEX = exports.TS_TSX_REGEX = exports.EXTENSION_REGEX = exports.LINE_FEED = void 0; exports.LINE_FEED = '\n'; exports.EXTENSION_REGEX = /\.[^.]+$/; exports.TS_TSX_REGEX = /\.tsx?$/; exports.JS_JSX_REGEX = /\.jsx?$/; exports.JSON_REGEX = /\.json$/i; exports.DEFAULT_JEST_TEST_MATCH = ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'];