@gentrace/evals
Version:
Gentrace Evals plugin for Node.JS
21 lines (20 loc) • 447 B
JavaScript
module.exports = {
setupFiles: ["dotenv/config"],
preset: "ts-jest/presets/js-with-ts",
testEnvironment: "node",
testPathIgnorePatterns: ["node_modules", "dist"],
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{
tsconfig: "tsconfig.spec.json",
},
],
"^.+\\.js$": "babel-jest",
},
testMatch: [
"<rootDir>/src/**/*.test.[jt]s?(x)",
"<rootDir>/tests/**/*.test.[jt]s?(x)",
],
rootDir: ".",
};