approvals / go-approval-tests

Apache License 2.0
86 stars 22 forks source link

Vscode reporter does not handle vscode remote via ssh #45

Open alexbozhenko opened 1 year ago

alexbozhenko commented 1 year ago

Hi.

This code: https://github.com/approvals/go-approval-tests/blob/32d5677069bd623f06e909e11474d27400539dae/reporters/vscode.go#L20-L29

Does not work for the case when https://code.visualstudio.com/docs/remote/ssh is used.

It is possible to run remote code instance with something like: https://stackoverflow.com/questions/62201080/is-it-possible-to-use-the-code-command-in-sshed-terminal-to-open-vs-code-on-l

But that requires investigation...