The context value property on TestMessage items allows for the extension to contribute quick fixes directly in the test failure peek. For example, updating the test so that the expected result matches what was actually returned.
See microsoft/vscode#190277 for details.