[PR #2720] [CLOSED] feat: document LANGSMITH_TEST_SUITE in vitest-jest docs [closes DOC-755] #2827

Closed
opened 2026-06-05 18:20:06 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2720
Author: @lnhsingh
Created: 2/19/2026
Status: Closed

Base: mainHead: open-swe/aaceee52-2742-0f3e-4d9e-8c36cacd5374


📝 Commits (2)

  • 4670574 Document LANGSMITH_TEST_SUITE env var in vitest-jest docs with testSuiteName config pattern
  • 7e9d9e0 Update src/langsmith/vitest-jest.mdx

📊 Changes

1 file changed (+51 additions, -8 deletions)

View changed files

📝 src/langsmith/vitest-jest.mdx (+51 -8)

📄 Description

Description

Adds documentation for the LANGSMITH_TEST_SUITE environment variable to the Vitest/Jest testing documentation page, as requested in the linked Slack thread.

Changes:

  • Added new "Grouping tests into a test suite" section explaining how ls.describe() blocks map to test suites/datasets
  • Documented the testSuiteName config option for overriding test suite names
  • Documented using LANGSMITH_TEST_SUITE env var with process.env.LANGSMITH_TEST_SUITE for dynamic test suite naming in CI
  • Added an info callout noting the difference between Python (automatic env var reading) and JS (explicit config) behavior
  • Fixed the code example in the existing "Configuring test suites" section to use the correct async function signature

This mirrors the structure of the pytest docs which already document LANGSMITH_TEST_SUITE in the "Grouping tests into a test suite" section.

Resolves DOC-755

Test Plan

  • Verify the new "Grouping tests into a test suite" section renders correctly
  • Verify code examples are syntactically correct TypeScript
  • Verify the Info callout with cross-reference to pytest docs renders properly
  • Verify the existing "Configuring test suites" section still renders correctly after code example fix

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2720 **Author:** [@lnhsingh](https://github.com/lnhsingh) **Created:** 2/19/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `open-swe/aaceee52-2742-0f3e-4d9e-8c36cacd5374` --- ### 📝 Commits (2) - [`4670574`](https://github.com/langchain-ai/docs/commit/467057421cb535a8dc00ffefe31f7350f7f2622f) Document LANGSMITH_TEST_SUITE env var in vitest-jest docs with testSuiteName config pattern - [`7e9d9e0`](https://github.com/langchain-ai/docs/commit/7e9d9e0bdac264181af3e87e399181a3515eb139) Update src/langsmith/vitest-jest.mdx ### 📊 Changes **1 file changed** (+51 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/vitest-jest.mdx` (+51 -8) </details> ### 📄 Description ## Description Adds documentation for the `LANGSMITH_TEST_SUITE` environment variable to the Vitest/Jest testing documentation page, as requested in the linked Slack thread. Changes: - Added new "Grouping tests into a test suite" section explaining how `ls.describe()` blocks map to test suites/datasets - Documented the `testSuiteName` config option for overriding test suite names - Documented using `LANGSMITH_TEST_SUITE` env var with `process.env.LANGSMITH_TEST_SUITE` for dynamic test suite naming in CI - Added an info callout noting the difference between Python (automatic env var reading) and JS (explicit config) behavior - Fixed the code example in the existing "Configuring test suites" section to use the correct async function signature This mirrors the structure of the pytest docs which already document `LANGSMITH_TEST_SUITE` in the "Grouping tests into a test suite" section. Resolves DOC-755 ## Test Plan - [ ] Verify the new "Grouping tests into a test suite" section renders correctly - [ ] Verify code examples are syntactically correct TypeScript - [ ] Verify the Info callout with cross-reference to pytest docs renders properly - [ ] Verify the existing "Configuring test suites" section still renders correctly after code example fix --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:20:06 -04:00
yindo closed this issue 2026-06-05 18:20:06 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2827