Skip to content

How to use the eventEmitter capability provided by service.once? #311

Open
@andyloughran

Description

Summary

In your documentation, you cite the ability to use event emitters for helping with test instances. Unfortunately the documentation doesn't articulate how to set the 'service' variable.

Desired solution

Please provide an example for how to initialise the 'service' variable.

Additional Context

I think this is generic, but not sure if it needs guidance for specific test frameworks too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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