File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed 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 @@ -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