sheremet-va / vitest-react-native

63 stars 5 forks source link

Handle binary files #7

Closed JohanObrink closed 1 year ago

JohanObrink commented 1 year ago

When using vitest with react-navigation, the tests failed due to pirates trying to parse included .png:s. This PR adds a hook which replaces the raw data of the included files with Buffer.from([base64 of file])

JohanObrink commented 1 year ago

Closes #6

JohanObrink commented 1 year ago

@sheremet-va Is there anything more you want me to do to be able to accept the PR?