UNPKG

restate-nest

Version:

A decorator based easy to use nestjs and restate.dev integration

25 lines (22 loc) 533 B
import type { Config } from '@jest/types'; const config: Config.InitialOptions = { preset: 'ts-jest', testEnvironment: 'node', testMatch: ['**/__tests__/**/*.test.ts'], moduleFileExtensions: ['ts', 'js', 'json', 'node'], transform: { '^.+\\.tsx?$': 'ts-jest', }, collectCoverage: true, coverageDirectory: 'coverage', coverageReporters: ['text', 'lcov'], coverageThreshold: { global: { branches: 80, functions: 80, lines: 80, statements: 80, }, }, }; export default config;