-
Notifications
You must be signed in to change notification settings - Fork 44
RFC: Revamp TestUtils & tests #14
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
Conversation
@JasoonS
JasoonS
left a comment
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.
Looks clean to me (although I have zero authority here...)
cknitt
commented
Sep 30, 2022
@mattdamon108 @cristianoc What about this PR? The previously existing tests were removed in #49. Are we interested in re-adding tests?
cristianoc
commented
Sep 30, 2022
@mattdamon108 @cristianoc What about this PR? The previously existing tests were removed in #49. Are we interested in re-adding tests?
Not sure. Do they add value to justify the maintenance? E.g w.r.t. snapshot test where one just looks at the generated code?
Could go either way. No opinion.
mununki
commented
Oct 4, 2022
I have no opinion. Actually, not sure what we should test for the binding module.
One thing that came to my mind is to test the generated js output, maybe?
cristianoc
commented
Oct 4, 2022
I have no opinion. Actually, not sure what we should test for the binding module.
One thing that came to my mind is to test the generated js output, maybe?
Checking in che compiled output seems by far the easiest thing. And tells everything there is to know.
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.
We should probably add 16 since it's the current LTS release.
Uh oh!
There was an error while loading. Please reload this page.
→ Removes Jest
→ Updates peerDependencies
Test files render
Setup
Screen Shot 2021年03月10日 at 13 44 34
Assertions setup
Screen Shot 2021年03月10日 at 13 45 02
Tests
Screen Shot 2021年03月10日 at 13 43 21
Screen Shot 2021年03月10日 at 13 43 44
Test output render
Screen Shot 2021年03月10日 at 16 55 09
Screen Shot 2021年03月10日 at 16 55 58