You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running the tests in visual studio on a remote test environment, in this case WSL2. The directory for the snapshot is resolving to the windows path instead of the linux path. Causing the snapshooter files to be in the wrong directory
directory name:
Cdevprojectsxxxx-apitestxx.Api.Tests
To Reproduce
Steps to reproduce the behavior:
Create a xunit test using snapshoot MatchSnapshot
Run the tests in visual studio using remote test environments WSL2
In the debug folder a new folder is created with the directory path (windows) as directory name. (Windows path is used in the linux environment)
Expected behavior
Linux path to be used
/mnt/c/dev/projects/xx/xx-api/test/xx.Api.Tests
Desktop (please complete the following information):
OS: Windows
Version 10
WSL2
Ubuntu 22
The text was updated successfully, but these errors were encountered:
Describe the bug
When running the tests in visual studio on a remote test environment, in this case WSL2. The directory for the snapshot is resolving to the windows path instead of the linux path. Causing the snapshooter files to be in the wrong directory
directory name:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Linux path to be used
Desktop (please complete the following information):
WSL2
The text was updated successfully, but these errors were encountered: