See https://github.com/avajs/ava/issues/2473 for context. We need to parse the test file, ideally using `typescript`. And then provide the call locations back to AVA. This will require some changes in AVA as well.