Skip to content

Commit

Permalink
fix: Fixed path for snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nikcio committed Apr 4, 2024
1 parent 6e4d95d commit 8ee1239
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class SnapshotProvider
public SnapshotProvider(string snapshotFolder)
{
// We need to go up 3 levels to get to the root of the project instead of bin/Debug/netX.Z
_snapshotFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "..\\..\\..", snapshotFolder);
_snapshotFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "../../..", snapshotFolder);
}

public async Task AssertIsSnapshotEqualAsync(string snapshotName, string content)
Expand Down

0 comments on commit 8ee1239

Please sign in to comment.