File tree Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -282,10 +282,11 @@ tasks:
282282 tags : [local]
283283 commands :
284284 - func : " fetch repo"
285+ - func : " setup local atlas"
285286 - func : " execute tests"
286287 - command : attach.xunit_results
287288 params :
288- file : src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml
289+ file : src/langchain-js/langchainjs/libs/providers/ langchain-mongodb/results.xml
289290
290291 - name : test-n8n-js-local
291292 tags : [local]
@@ -301,7 +302,7 @@ tasks:
301302 - func : " execute tests"
302303 - command : attach.xunit_results
303304 params :
304- file : src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml
305+ file : src/langchain-js/langchainjs/libs/providers/ langchain-mongodb/results.xml
305306
306307 - name : test-mem0-python-local
307308 tags : [ local ]
Original file line number Diff line number Diff line change 11REPO_NAME = langchainjs
2- REPO_ORG = langchain-ai
2+ REPO_ORG = durran
33DATABASE = langchain_test_db
4+ REPO_BRANCH = fix-mongodb-tests
Original file line number Diff line number Diff line change 1+ []
Original file line number Diff line number Diff line change @@ -26,16 +26,20 @@ setup_node_and_yarn() {
2626 export PATH
2727 export npm_config_prefix
2828
29- npm install --global yarn
29+ npm install -g pnpm@latest-10
30+ npm install --global corepack --force
31+ corepack enable
3032}
3133
3234setup_langchain_integration () {
33- cd libs/langchain-mongodb
35+ pnpm install
36+ pnpm build
3437
35- yarn install
36- yarn build
38+ cd libs/providers/langchain-mongodb
39+
40+ pnpm install
41+ pnpm build
3742
38- yarn add --dev jest-junit
3943 export JEST_JUNIT_OUTPUT_NAME=results.xml
4044 # Trim trailing slashes since lanchainjs is doing string manipulationn, not
4145 # using the URI class.
@@ -50,4 +54,4 @@ setup_remote_atlas
5054setup_node_and_yarn
5155setup_langchain_integration
5256
53- yarn test:int --reporters =default --reporters=jest-junit
57+ pnpm test:int --reporter =default
You can’t perform that action at this time.
0 commit comments