Skip to content

Commit a963a12

Browse files
committed
Uninstall supertest, update config files, minor fixes
1 parent 4ce00ec commit a963a12

File tree

6 files changed

+1378
-490
lines changed

6 files changed

+1378
-490
lines changed

mlflow/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default tseslint.config(
77
eslint.configs.recommended,
88
...tseslint.configs.recommended,
99
{
10-
ignores: ['docs', 'lib/**'],
10+
ignores: ['docs', 'lib/**', 'examples'],
1111
},
1212
{
1313
rules: {

mlflow/jest.config.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import type { Config } from '@jest/types';
2+
23
const config: Config.InitialOptions = {
3-
preset: 'ts-jest', // allows Jest to handle TS files without requiring to transpile them first
4-
testEnvironment: 'node', // appropriate for most Node.js and TS projects
4+
preset: 'ts-jest',
5+
testEnvironment: 'node',
56
transform: {
6-
'^.+\\.(ts|tsx)$': ['ts-jest', { tsconfig: 'tsconfig.json' }],
7+
'^.+\\.tsx?$': ['ts-jest', { tsconfig: 'tsconfig.json' }],
78
},
89
roots: ['<rootDir>/src', '<rootDir>/tests/'],
910
moduleNameMapper: { '^@utils/(.*)$': '<rootDir>/src/utils/$1' },
10-
moduleFileExtensions: ['ts', 'js'],
11+
moduleFileExtensions: ['ts', 'js', 'json'],
1112
moduleDirectories: ['node_modules', 'src'],
1213
};
14+
1315
export default config;

0 commit comments

Comments
 (0)