Skip to content

Commit fb9b917

Browse files
committed
refactor: Remove obsolete server.ts file
- Deleted unused server.ts (451 lines) - old implementation not referenced anywhere - Removed server.ts exclusion from jest.config.js coverage - All functionality is in index.ts (4979 lines) which is the main entry point - Tests pass, build succeeds This reduces confusion and potential maintenance issues from having two server implementations.
1 parent e788691 commit fb9b917

File tree

2 files changed

+2
-459
lines changed

2 files changed

+2
-459
lines changed

jest.config.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@ module.exports = {
33
preset: 'ts-jest',
44
testEnvironment: 'node',
55
testMatch: ['**/__tests__/**/*.test.ts', '**/*.test.ts'],
6-
collectCoverageFrom: [
7-
'src/**/*.ts',
8-
'!src/**/*.d.ts',
9-
'!src/**/__tests__/**',
10-
'!src/index.ts',
11-
'!src/server.ts',
12-
],
6+
collectCoverageFrom: ['src/**/*.ts', '!src/**/*.d.ts', '!src/**/__tests__/**', '!src/index.ts'],
137
coverageThreshold: {
148
global: {
159
branches: 80,
@@ -36,4 +30,4 @@ module.exports = {
3630
detectOpenHandles: true,
3731
maxWorkers: 1,
3832
globalTeardown: './src/test-helpers/global-teardown.js',
39-
};
33+
};

0 commit comments

Comments
 (0)