Christopher Frost over on Youtube has a series called Sharp enough for 32.5mp where he goes over his ef-m lenses and retests them on the M6 Mk-II. It's far from being a scientific method and seeing the images on a Youtube video is far from ideal, but it's what we have available unfortunately. His testing method is standardised though, so it makes it easier to compare.
The results are gonna vary from lens to lens naturally. Canon really did an awesome job with their primes on the M mount, which makes the fact they didn't make more so frustrating. But the 22 and 32 seem to handle the higher resolution count just fine. The Sigma primes seem to struggle a bit more, though in their case, he only compares the Sony versions he tested on the a5100 to the EF-M version on the M6 MkII. The optical formula didn't really change on the Sigma lenses though, so they should behave pretty similarly on the M50 and the a5100 for example.
Well, either way, here are the reviews for the Canon 22mm:
And for the Sigma trio (16, 30 and 56 respectively):
https://www.youtube.com/watch?v=Z0J-MpASheU
https://www.youtube.com/watch?v=V9a7KXvboNI&t=155s
And for the kit lens while we're at it:
https://www.youtube.com/watch?v=I7kt8_g0yOE
https://www.youtube.com/watch?v=vF-sYxVBeF8
Hope that helps. (Sorry, can only post 5 videos apparently)