array-comparisoncomparisoncomparison-tooldeep-diffdiffjson-diffnodejsobject-comparisonobject-diffobjectdiffobjectdifferencereactstreamingstreaming-datatypescript
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
614 B
30 lines
614 B
6 months ago
|
import type { Config } from "jest";
|
||
|
|
||
|
const config: Config = {
|
||
2 years ago
|
transform: {
|
||
6 months ago
|
"^.+\\.(ts|js)$": [
|
||
7 months ago
|
"@swc/jest",
|
||
|
{
|
||
|
jsc: {
|
||
|
baseUrl: ".",
|
||
|
parser: {
|
||
|
syntax: "typescript",
|
||
|
tsx: true,
|
||
|
dynamicImport: true,
|
||
|
},
|
||
|
paths: {
|
||
6 months ago
|
"@mocks/*": ["./src/mocks/*"],
|
||
7 months ago
|
"@models/*": ["./src/models/*"],
|
||
|
"@lib/*": ["./src/lib/*"],
|
||
|
},
|
||
|
target: "esnext",
|
||
|
},
|
||
|
},
|
||
|
],
|
||
2 years ago
|
},
|
||
6 months ago
|
testEnvironment: "node",
|
||
|
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
|
||
2 years ago
|
};
|
||
6 months ago
|
|
||
|
export default config;
|