UNPKG

@mondaydotcomorg/atp-compiler

Version:

Production-ready compiler for transforming async iteration patterns into resumable operations with checkpoint-based state management

30 lines (29 loc) 638 B
export default { preset: 'ts-jest', testEnvironment: 'node', roots: ['<rootDir>/__tests__'], testMatch: ['**/*.test.ts'], moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', '^@mondaydotcomorg/atp-runtime$': '<rootDir>/../runtime/src/index.ts', '^@mondaydotcomorg/atp-protocol$': '<rootDir>/../protocol/src/index.ts', }, extensionsToTreatAsEsm: ['.ts'], transform: { '^.+\\.tsx?$': [ 'ts-jest', { useESM: true, }, ], }, collectCoverageFrom: ['src/**/*.ts', '!src/**/*.d.ts', '!src/index.ts'], coverageThreshold: { global: { branches: 95, functions: 95, lines: 95, statements: 95, }, }, };