Superdiff provides a complete and readable diff for both arrays and objects. Plus, it supports stream and file inputs for handling large datasets efficiently, is battle-tested, has zero dependencies, and is super fast.
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.
 
 

29 lines
614 B

import type { Config } from "jest";
const config: Config = {
transform: {
"^.+\\.(ts|js)$": [
"@swc/jest",
{
jsc: {
baseUrl: ".",
parser: {
syntax: "typescript",
tsx: true,
dynamicImport: true,
},
paths: {
"@mocks/*": ["./src/mocks/*"],
"@models/*": ["./src/models/*"],
"@lib/*": ["./src/lib/*"],
},
target: "esnext",
},
},
],
},
testEnvironment: "node",
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
};
export default config;