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.

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