Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public access to emitter._reset() #20

Open
alexhayes opened this issue Apr 21, 2017 · 2 comments
Open

Public access to emitter._reset() #20

alexhayes opened this issue Apr 21, 2017 · 2 comments

Comments

@alexhayes
Copy link

I'd like to isolate experiments in tests and thus would like to do something like;

beforeEach(() => {
  emitter.defineVariants(...);
});

afterEach(() => {
  emitter._reset();
});

However, I'd really prefer to not be calling _reset.

Is there a reason _reset is not public?

@peterpme
Copy link
Collaborator

peterpme commented May 5, 2017

👋 @alexhayes thanks for your request! I'll see if I can expose this for you :)

@alexhayes
Copy link
Author

alexhayes commented May 7, 2017 via email

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

No branches or pull requests

2 participants