rescript-react
rescript-react copied to clipboard
RFC: Revamp TestUtils & tests
→ Removes Jest → Updates peerDependencies
Test files render
Setup
Assertions setup
Tests
Test output render
@mattdamon108 @cristianoc What about this PR? The previously existing tests were removed in #49. Are we interested in re-adding tests?
@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.
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?
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.