Skip to content

test: add unit tests for @voltagent/resumable-streams #1329

Description

@nuthalapativarun

Problem

The @voltagent/resumable-streams package (v2.0.2) has zero test coverage. No .spec.ts files exist despite vitest being configured.

Proposed Solution

Add unit tests covering:

  • resumable-streams.ts — factory functions, store type markers, disabled-state detection
  • chat-session.ts — createResumableChatSession create/resume/complete flows

Using mocks for Redis and VoltOps dependencies.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions