temporalio / temporalio/samples-typescript

[Feature Request] Add mocha/jest tests for signals-queries example

Open
#358 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
465
Forks
148
Avg merge
1d 10h
Merged PRs (30d)
11

Description

Is your feature request related to a problem? Please describe.

"Unable to signal external workflow because it was not found" is what I get when I try to run a signal with mocha.

Describe the solution you'd like

A simple src/mocha/workflows.test.ts

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the signals-queries example and the requested src/mocha/workflows.test.ts path. Reproduce the external workflow signal scenario with the existing Mocha setup, then add tests covering the reported not-found behavior and the expected successful signal flow. Done means the signals-queries example has Mocha tests that run successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.