* deduplicatearray tests * break out separate retrieval pipelines * IConfigHandler * tests for codebase indexer * better .continueignore for continue * indexing fixes * ignore .gitignore and .continueignore when indexing * retrieval pipeline improvements
23 lines
576 B
JavaScript
23 lines
576 B
JavaScript
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
|
|
process.env.NODE_OPTIONS = "--experimental-vm-modules";
|
|
|
|
export default {
|
|
transform: {
|
|
"\\.[jt]sx?$": ["ts-jest", { useESM: true }],
|
|
},
|
|
|
|
moduleNameMapper: {
|
|
"(.+)\\.js": "$1",
|
|
},
|
|
extensionsToTreatAsEsm: [".ts"],
|
|
preset: "ts-jest/presets/default-esm",
|
|
testTimeout: 10000,
|
|
testEnvironment: "node",
|
|
globals: {
|
|
__dirname: path.dirname(fileURLToPath(import.meta.url)),
|
|
__filename: path.resolve(fileURLToPath(import.meta.url)),
|
|
},
|
|
globalSetup: "<rootDir>/jest.global-setup.ts",
|
|
};
|