-
Couldn't load subscription status.
- Fork 11
test(NODE-7278): fix langchainjs tests #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
a819a13 to
cdbea2f
Compare
6c4d331 to
aab4af5
Compare
397d164 to
eb142a5
Compare
| - command: attach.xunit_results | ||
| params: | ||
| file: src/langchain-js/langchainjs/libs/langchain-mongodb/results.xml | ||
| file: src/langchain-js/langchainjs/libs/providers/langchain-mongodb/results.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Langchain moved locations
|
|
||
| setup_langchain_integration() { | ||
| cd libs/langchain-mongodb | ||
| pnpm install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Langchain is using pnpm with corepack now instead of yarn.
| setup_langchain_integration | ||
|
|
||
| yarn test:int --reporters=default --reporters=jest-junit | ||
| pnpm test:int --reporter=default --reporter=junit --outputFile=./results.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using vitest instead of jest, reporter options are different.
langchainjs updated their directory structure prior to the 1.0 release and also moved to pnpm from yarn.
Requires langchain-ai/langchainjs#9276
Once the langchain PR is merged I will update the branch we are pointing to.