mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 21:37:41 +00:00
## Summary - Silence noisy `console.debug` and `console.info` logs in test output across `api` and `common-utils` packages - Add `DOTENV_CONFIG_OVERRIDE=true` to API integration test scripts so `.env.test` values take precedence - Add shared jest setup for `common-utils` to suppress verbose console output during tests Now the CI stdout should be much cleaner and readable (int tests especially)
14 lines
404 B
JavaScript
14 lines
404 B
JavaScript
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
setupFilesAfterEnv: ['<rootDir>/../jest.setup.ts'],
|
|
verbose: true,
|
|
rootDir: './src',
|
|
testMatch: ['**/__tests__/*.test.ts?(x)'],
|
|
testPathIgnorePatterns: ['.*\\.int\\.test\\.ts$'],
|
|
testTimeout: 30000,
|
|
moduleNameMapper: {
|
|
'@/(.*)$': '<rootDir>/$1',
|
|
},
|
|
};
|