-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add jest mock for the Linking library #13484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
1aaa528
Add mock for the Linking library
9eed7b6
Log to console in RCTTestRunner
javache eeb8645
fix typo
vonovak 7a7e087
Find hasConstant status via preprocessing
d419ccb
Fix typo in documentation: "…controls how rows…"
yas375 3c8608e
fix mock for AsyncLocalStorage
ZauberNerd 833ef42
Fix sizing of non strech items
woehrl01 6cb1979
Correct fix for flexing grandchildren
b87de4d
Let measure behave more like on the web
woehrl01 7c8c57a
Add Geolocation API Jest mock
willdurand d8ff02b
Revert D4878875: [yoga][PR] Fix sizing of non strech items
8565f4f
packager: ResolutionRequest: correct mistaken callsite
f588c81
packager: preprocess outdated dependencies
2682e14
Remove references to CSSLayoutDEPRECATED
a311d12
Fixed bad ReactPropTypes reference in ViewPagerAndroid
e25f4fa
Revert D4850458: [yoga][PR] Let measure behave more like on the web
6835aca
disable removeClippedSubviews by default
sahrens d1e8cd7
Revert D4875343: Correct fix for flexing grandchildren
da296eb
make mHasDispatchScheduledCount in EventDispatcher atomic
fd8c816
loosen the ReactChoreographer UI thread assert
810e9b5
Ran React.PropTypes codemod on fbsource again in case anything was mi…
2a86d74
Make invalid scrolling bugs easier to track down
sahrens 591499b
clean up NativeAnimatedModule
f54fda4
Add missing prop-types dependency to website/package.json
douglowder 1bc27a9
Don't build js bundles for debug simulator build configurations
ee058b3
Change Promise.done to Promise.then
kubik369 4705ee1
Align ios api with android
2c0c3f4
Upgrade to v0.44.0
gabelevi 3abadb3
make mReactChoreographer final in Timing.java
9747ad2
Instrumentation tests for apps that provide a testPayload
ayc1 e99b389
update the infer-annotation jar for open source to unblock D4883219
620b625
Fix bug - FlatList component did not render more items when content w…
5708951
make ReactInstanceManager safer threading wise
9140b34
move calls that need to be on the UI thread out of setupReactContext()
efac41b
Construct ModuleHolder from ReactModuleInfo
javache 204f70d
Protect against fatal YellowBox error when stack frame has no file
terribleben c319542
packager: remove Cache
dc764d1
packager: Module: remove dead cacheTransformResults option
e303b9f
packager: buck: transform-module: add support for assets
1c601cd
packager: ResolutionRequest: stronger option typing
419700f
Bump the flow-bin version to ^0.44.2
gabelevi 693cfb2
`getTransformOptions` can only return promises
davidaurelio ab4e87d
Rename JSCSamplingProfiler to RCTJSCSamplingProfiler
mhorowitz 66d4e02
Update Colors.md, removed duplicate colors
himanshupathakpwd 00eb6ba
Omit units from zero values.
5fe0c85
More verbose error messages for iOS
cooperka 3485a58
Fixed a typo in open function documentation
mohamed-habib 0f14a14
Explicitly cast to (bool) where needed on objc with folly::dynamic
mhorowitz 8fc4af5
Remove immutable-js
a87e783
ListItem JSX tag is not closed when used in SectionList
Gregoirevda f949a65
React Native Fiber: Fix errors in children management
sophiebits 2f93998
clear DraweeControllerBuilder after usage
aa69e76
launch conversion from ASyncTask to Thread
05981c2
Use uri instead of url in source property of Image
mehcode b87987b
Fixing Race condition that happens with _wasBatchActive
62f0a52
Pin newly updated F8 2017 conference app in the showcase
hramos c932b1c
packager: GlobalTransformCache: cache the transform options digest
11976ad
Mock Linking - openURL & canOpenURL
manosim 15191a1
Udpate scrollTo example
franrios 4e87964
Update documentation to use newer version of fresco - fixes #13345
forki 94b3816
Added documentation for additional fields of Image
DanielMSchmidt 6488555
packager: worker: strenghten TransformOptions
dce2553
packager: buck: fix messed up file types
aa6cd06
packager: assetPathUtils: @flow
ec328f0
packager: GlobalTransformCache: throat() the file fetching function
4b7dae5
Fix run-ios when specifying a scheme as cli arg
pesterhazy ddc6314
Only start observing in requestPermissions() if not already observing
9e8b012
Correcting Flex fix within Experimental feature
5f0b3c1
Enable dev menu in tvOS simulator
cmcewen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mock
startObservingandstopObservinginstead of these two.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused, these methods are not exposed in the
Linkinglibrary:Libraries/Linking/Linking.js:127There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but they are on the NativeModule (and used by EventEmitter)