I am developing a new Forge application and I’ve set about writing JEST unit tests. However, I cannot seem to get unit tests in the Custom UI to work. I get the below error message
Cannot find module '@forge/bridge' from 'src/components/App.tsx'
The lone Custom UI example app I saw that included Jest only did simple comparison testing and did not mock any @forge services and thus avoided the issue.
So I am wondering what is the proper way to unit test Custom UI components with Jest in Jira Forge Custom UI?