Quality-centric = There are a few examples showing approaches for testing contract-related functionality in isolation-GREAT!! However, the same cannot be said if searching the web for mocking BeaconWallet and TezosToolkit. I also had a look at at just constructing something in the tests but the type doc definitions are a 404. Any help much appreciated thanks in advance!
If you want to unit test components that use beacon, I suggest that you create a stub for the
BeaconWallet instance, and then either return a successful or error response when submitting a transaction. You can do this using your testing framework of choice, there is nothing beacon specific to it.
Feel free to include an example of what you are trying to achieve so we can give you a more detailed answer.