-
Working on code sharing b/w React.js based website and react-native based mobile application. So, started using this library for running react-native syntax on web. Vendor prefixes are added automatically that is mentioned here). The issue that i am facing is: Vendor prefixes are generated by react-native-web but those doesn't exist in case of react-native. So, my snapshot tests fails when test cases are run for different platforms. Is it possible to disable this vendor prefixing in test environment? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No. And you either shouldn't be rendering down to DOM in cross-platform snapshots, or shouldn't be sharing snapshots across platforms. |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #1967 |
Beta Was this translation helpful? Give feedback.
Duplicate of #1967