reasonml/reason-native

rely: warning when using snapshotDir without opening RelyInternal.TestFrameworkConfig

joprice opened this issue · 2 comments

When I try out the example, I get the following warning:

Error (warning 40): this record of type RelyInternal.TestFrameworkConfig.requiredConfiguration contains fields that are
not visible in the current scope: snapshotDir projectDir.

Opening RelyInternal.TestFrameworkConfig fixes it, but not sure that module was intended to be opened since it has 'internal' in the name.

Do you have a more complete example of your project? (A github repo perhaps?)

Typically this shouldn't be required and with our setup it doesn't seem to have the same issue: https://github.com/facebookexperimental/reason-native/blob/master/tests/TestFramework.re

Closing due to lack of activity (feel free to reopen with more info)