-
Notifications
You must be signed in to change notification settings - Fork 16
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
MNT Use React Testing Library #263
MNT Use React Testing Library #263
Conversation
06aea8f
to
1be58f8
Compare
{ code: 403, message: 'You do not have access to view this campaign.' }, | ||
{ code: 404, message: 'The campaign you are looking for can not be found.' }, | ||
{ code: 500, message: 'Something went wrong.' }, | ||
].forEach(({ code, message }) => { |
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.
I changed it.each()
to .forEach() ... it()
because these tests were weirdly hanging in my terminal even with all the code inside the loop commented out.
I ended up refactoring the syntax a little elsewhere, though it's still the same test
29f2c2c
to
3a32d33
Compare
3a32d33
to
8065d8e
Compare
aee3e57
to
c00af93
Compare
c00af93
to
3cb0995
Compare
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.
LGTM
Issue silverstripe/silverstripe-admin#1503