-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 dcd6307
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
21 changes: 21 additions & 0 deletions
21
Libraries/Animated/src/__tests__/__snapshots__/Animated-test.js.snap
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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