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

Separately run redis cache test #205

Merged
merged 9 commits into from
Apr 7, 2018
Merged

Conversation

yujiosaka
Copy link
Owner

Redis tests didn't pass with redis-mock because it doesn't support eval method. I'd simply separate Redis cache tests.

Plus, I had to change the function style for Mocha not to use arrow function. See https://mochajs.org/#arrow-functions for the details.

Fixes #203
FYI @panthony

@@ -45,8 +50,9 @@
"eslint-plugin-import": "2.10.0",
"greenkeeper-lockfile": "1.14.0",
"mime": "2.2.1",
"mocha": "5.0.5",
"mocha": "mochajs/mocha#88b9882",
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mocha will support --exclude option in the next version.
See mochajs/mocha#3210

@yujiosaka yujiosaka force-pushed the separately-run-redis-cache-test branch from 6ffe2a1 to 000a777 Compare April 7, 2018 10:48
@yujiosaka yujiosaka force-pushed the separately-run-redis-cache-test branch from 9420fa4 to 52eafc6 Compare April 7, 2018 11:02
@yujiosaka yujiosaka merged commit 8d7e8e0 into master Apr 7, 2018
@yujiosaka yujiosaka deleted the separately-run-redis-cache-test branch April 7, 2018 11:10
yujiosaka pushed a commit that referenced this pull request Apr 8, 2018
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.

1 participant