File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ module.exports = {
1717
1818 // Stub ESM-only MCP SDK imports for Jest's CJS runtime.
1919 moduleNameMapper : {
20- '^@modelcontextprotocol/sdk$' : '<rootDir>/../components/test/__mocks__/esm-stub.js' ,
21- '^@modelcontextprotocol/sdk/(.*)$' : '<rootDir>/../components/test/__mocks__/esm-stub.js'
20+ '^@modelcontextprotocol/sdk(/.*)?$' : '<rootDir>/../components/test/__mocks__/esm-stub.js'
2221 } ,
2322
2423 // File extensions to recognize in module resolution
Original file line number Diff line number Diff line change 4848 "e2e" : " start-server-and-test dev http://localhost:3000 cypress:run" ,
4949 "cypress:ci" : " START_SERVER_AND_TEST_INSECURE=1 start-server-and-test start https-get://localhost:3000 cypress:run" ,
5050 "test" : " jest --runInBand --detectOpenHandles --forceExit" ,
51- "test:coverage" : " jest --runInBand --detectOpenHandles --forceExit --coverage"
51+ "test:coverage" : " pnpm test --coverage"
5252 },
5353 "keywords" : [],
5454 "homepage" : " https://flowiseai.com" ,
You can’t perform that action at this time.
0 commit comments