Files
LlamaIndexTS/e2e
github-actions[bot] dc85649ead Release 0.8.23 (#1526)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-26 17:41:29 -08:00
..
2024-11-26 17:41:29 -08:00
2024-11-19 17:51:45 -08:00
2024-11-19 17:51:45 -08:00
2024-11-07 20:11:15 -08:00

LlamaIndexTS Core E2E Tests

Overview

We are using Node.js Test Runner to run E2E tests for LlamaIndexTS Core.

It supports the following features:

  • Run tests in parallel
  • Pure Node.js Environment
  • Switch between mock and real LLM API
  • Customizable logics

Usage

  • Run with mock register:
node --import tsx --import ./mock-register.js --test ./node/basic.e2e.ts
  • Run without mock register:
node --import tsx --test ./node/basic.e2e.ts
  • Run with specific test:
node --import tsx --import ./mock-register.js --test-name-pattern=agent --test ./node/basic.e2e.ts
  • Run with debug logs:
CONSOLA_LEVEL=5 node --import tsx --import ./mock-register.js --test-name-pattern=agent --test ./node/basic.e2e.ts