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

issue91 clearing session table after each test | Approach 'B' #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

karliatto
Copy link
Member

Approach B for:

  • Modified tearDown function in 'test/manager.js' to clear sessions as suggested using 'express-session' module.

in this approach using variable 'app' instead of requiring each module again in 'test/manager.js'

app.sessionStore = new MySQLStore(app.config.db);

This one seems better to me

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

Successfully merging this pull request may close these issues.

1 participant