How to mock miniruntime properly? #971
-
|
Hello, I would like to understna da good way to mock the mini-runtime from thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Its already mocked 🤔 |
Beta Was this translation helpful? Give feedback.
-
|
@jpudysz thanks for your quick reply, what I would like to achieve is to have different values per test, like |
Beta Was this translation helpful? Give feedback.
-
|
ok, we will try, seems to be possible, thanks again |
Beta Was this translation helpful? Give feedback.
Im not sure if you can mock the mock. You can disable Unistyles mocks and build own based on this file:
https://github.com/jpudysz/react-native-unistyles/blob/main/src/mocks.ts