mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
small dev ex improvement:
Before: `import { ... } from '../../../fixtures';`
After: `import { ... } from '@/fixtures';`
after checking out, rebuild `api` and `task-check-alerts` containers:
```sh
docker compose -f docker-compose.dev.yml up -d --no-deps --build task-check-alerts api
```
12 lines
297 B
JavaScript
12 lines
297 B
JavaScript
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
verbose: true,
|
|
rootDir: './src',
|
|
testMatch: ['**/__tests__/*.test.ts?(x)'],
|
|
testTimeout: 30000,
|
|
moduleNameMapper: {
|
|
'@/(.*)$': '<rootDir>/$1',
|
|
},
|
|
};
|