-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add support for jasmine 2.x #34
Conversation
}; | ||
}; | ||
|
||
const toNotDispatchActions = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be also nice to add a negative comparison support. See https://jasmine.github.io/2.0/custom_matcher.html#section-Custom_negative_comparators
/* eslint-env jasmine */ | ||
import { assertions } from 'redux-actions-assertions-js'; | ||
|
||
const toDispatchActions = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use functions declarations as it is done in other files to keep format consistency
|
||
export { | ||
registerAssertions, | ||
matchers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to expose matchers
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is to import them from Jest and making the registration step more explicit on the jest's setupTestFrameworkScriptFile
file (instead of simply calling jasmine's registerAssertions()
there)
PR updated. |
Related issue: #31