mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-23 18:29:21 -05:00
feat: enhance JSON serialization safety & add dxt upload limit (#230)
This commit is contained in:
@@ -12,6 +12,7 @@ module.exports = {
|
||||
'ts-jest',
|
||||
{
|
||||
useESM: true,
|
||||
tsconfig: './tsconfig.test.json',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -37,8 +38,10 @@ module.exports = {
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
'^(\\.{1,2}/.*)\\.js$': '$1',
|
||||
},
|
||||
transformIgnorePatterns: ['node_modules/(?!(@modelcontextprotocol|other-esm-packages)/)'],
|
||||
extensionsToTreatAsEsm: ['.ts'],
|
||||
testTimeout: 10000,
|
||||
testTimeout: 30000,
|
||||
verbose: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user