b16a30beb2
Adds packageManager field to root package.json (required by turbo v2.9), loads .env via dotenv in API jest config so Prisma integration tests find DATABASE_URL when run from the monorepo root. pnpm build + pnpm test: 8/8 passing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 lines
296 B
JavaScript
11 lines
296 B
JavaScript
const path = require('path');
|
|
require('dotenv').config({ path: path.resolve(__dirname, '../../.env') });
|
|
|
|
module.exports = {
|
|
moduleFileExtensions: ['js', 'json', 'ts'],
|
|
rootDir: 'src',
|
|
testRegex: '.*\\.spec\\.ts$',
|
|
transform: { '^.+\\.(t|j)s$': 'ts-jest' },
|
|
testEnvironment: 'node',
|
|
};
|