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

refresh store on each test #637

Closed
wants to merge 1 commit into from
Closed

Conversation

wassname
Copy link
Contributor

@wassname wassname commented Apr 6, 2016

A suggestion for the docs/testing/stores.md. Refresh the store on each test using beforeAll.

A suggestion for the docs/testing/stores.md. Refresh the store on each test using beforeAll.
@noahmonster
Copy link

This could be done with

afterEach(function () {
    alt.recycle(wrappedPetStore);
});

@goatslacker
Copy link
Owner

alt.recycle is the better way, yes

@goatslacker goatslacker closed this Aug 2, 2016
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

Successfully merging this pull request may close these issues.

3 participants