UNPKG

693 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.DEFAULT_JEST_TEST_MATCH = exports.JSON_REGEX = exports.JS_JSX_REGEX = exports.TS_TSX_REGEX = exports.EXTENSION_REGEX = exports.LINE_FEED = void 0;
4/**
5 * @internal
6 */
7exports.LINE_FEED = '\n';
8/**
9 * @internal
10 */
11exports.EXTENSION_REGEX = /\.[^.]+$/;
12/**
13 * @internal
14 */
15exports.TS_TSX_REGEX = /\.tsx?$/;
16/**
17 * @internal
18 */
19exports.JS_JSX_REGEX = /\.jsx?$/;
20/**
21 * @internal
22 */
23exports.JSON_REGEX = /\.json$/i;
24/**
25 * @internal
26 * See https://jestjs.io/docs/en/configuration#testmatch-arraystring
27 */
28exports.DEFAULT_JEST_TEST_MATCH = ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'];