chore: ingest source code

58 files from https://github.com/gothinkster/node-express-realworld-example-app
This commit is contained in:
2026-03-13 11:38:49 +00:00
commit 1d0b844e76
58 changed files with 12898 additions and 0 deletions

15
jest.config.ts Normal file
View File

@@ -0,0 +1,15 @@
/* eslint-disable */
export default {
displayName: 'api',
preset: './jest.preset.js',
testEnvironment: 'node',
transform: {
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: './coverage/api',
testMatch: [
'<rootDir>/src/**/__tests__/**/*.[jt]s?(x)',
'<rootDir>/src/**/*(*.)@(spec|test).[jt]s?(x)',
],
};