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

createMockActionContext and plugins #441

Open
armandabric opened this issue May 9, 2016 · 1 comment
Open

createMockActionContext and plugins #441

armandabric opened this issue May 9, 2016 · 1 comment

Comments

@armandabric
Copy link
Contributor

When we use the utility createMockActionContext to test actions. They are no (simple) way to re-use our plugin to plug some method on the context.

Do you think it could be possible to add a "plugins" options that will handle the plug context process?

@nemisj
Copy link

nemisj commented Jun 21, 2016

@Spy-Seth, I've got the same issue, so i had to create my own createMockContext function I use to mock plugin methods: https://gist.github.com/nemisj/6259c82d65341ebcbc22494040350fd6

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

No branches or pull requests

2 participants