DEV: pass the proper "this" into afterEach hook in componentTest (PR #13254)

GitHub

This change breaks a lot of tests. I’m going to investigate it later.