Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Animated: Delete
__skipSetNativeProps_FOR_TESTS_ONLY
Summary: Deletes `__skipSetNativeProps_FOR_TESTS_ONLY` in favor of a `process.env_NODE_ENV` check (which will be eliminated from production builds). Changelog: [General] [Removed] Removed `__skipSetNativeProps_FOR_TESTS_ONLY` from Animated components. Reviewed By: TheSavior Differential Revision: D18289739 fbshipit-source-id: 7c1f7a29f2b88821d358227a07eec778773e418a
- Loading branch information
1 parent
2504114
commit dcd63078bdab864830168005b940f638f1e08b23
Showing
4 changed files
with
43 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,21 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Animated tests Animated bypasses \`setNativeProps\` in test environments 1`] = ` | ||
<View | ||
style={ | ||
Object { | ||
"opacity": 0, | ||
} | ||
} | ||
/> | ||
`; | ||
|
||
exports[`Animated tests Animated bypasses \`setNativeProps\` in test environments 2`] = ` | ||
<View | ||
style={ | ||
Object { | ||
"opacity": 1, | ||
} | ||
} | ||
/> | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters