The correct way to mock in tests frontend canisters interactions?

What is the most “correct” way to mock in JS tests user interactions from several distinct frontend canisters? Should I simply create several random-generated principals (each modelling a user in a distinct frontend canister), without mocking frontend canisters themselves?

2 Likes

That’s what we do in a lot of our tests

2 Likes