I configured a deep link in react-navigation using the instructions on https://reactnavigation.org/docs/configuring-links#handling-nested-navigators. I have a few nested navigators so the linking config that I pass into the NavigationContainer is not trivial. So I'd like to write a test for it to prevent future bugs.
Any ideas on how I can write a test for it in Jest so that a given deep link goes to the screen that I wish?