temporalio / temporal-polyglot

35 stars 8 forks source link

[Question] Unit testing #2

Open andyyaldoo opened 2 years ago

andyyaldoo commented 2 years ago

Hi,

I have a temporal workflow (written in Go) consist of some activities written in Go and some written in TS.

How do I perform unit test the workflow? Right now, I'm getting:

suite.go:63: test panicked: activity "<activityWrittenInTypeScript>" is not registered with the TestWorkflowEnvironment, registered types are:

Thanks