Skip to content

Reaction SDK (JS): Add Jest & Unit Tests to the Reaction SDK #412

Description

@amansinghoriginal

⚠️ Contributor & GSoC Rules ⚠️

To ensure a fair and manageable process for all contributors (including Google Summer of Code applicants), please follow these rules:

  1. Do NOT open a Pull Request unless you have been assigned to this issue. Unassigned PRs will be closed without review.
  2. To get assigned: Leave a comment below explaining where in the codebase you will implement this, and a 1-2 sentence description of your approach. The maintainers will assign it to the first coherent proposal.
  3. You may only be assigned to one "good first issue" at a time.
  4. If there is no update within 4 days, we may have to reassign the issue to another contributor.

Area for Improvement

If you look at the package.json for the JavaScript Reaction SDK (reactions/sdk/javascript/package.json), running npm test currently just echoes "Error: no test specified".

The JavaScript SDK is entirely missing automated test coverage. This is a critical gap for an SDK that users rely on to build their own Drasi Reactions.

Desired behavior

The JavaScript Reaction SDK has jest installed, properly configured, and contains unit tests covering the core networking and utility classes.

Metadata

Metadata

Assignees

Labels

needs-infoNeeds more detail, scope, or acceptance/success criteria before it can be worked.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions