Skip to content

Test: session.create returns undefined on Node.js 22 with empty options #1466

@sharmaz11

Description

@sharmaz11

Bug Report

Environment:

  • SDK: Node.js/TypeScript
  • Node version: 22.x
  • SDK version: 0.1.0

Steps to reproduce:

  1. Initialize the copilot-sdk client
  2. Call session.create({}) with empty options object
  3. Observe that the return value is undefined instead of a session object

Expected behavior: session.create should return a session object.

Actual behavior: Returns undefined.

This is a tracking test issue — please ignore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions