Run dotnet watch in non-interactive mode during tests (#17259)

This commit is contained in:
Michael Simons 2023-09-22 20:22:55 -05:00 committed by GitHub
parent 30b3fdf994
commit 12a817b846
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ public class DotNetWatchTests : SmokeTests
bool outputChanged = false;
DotNetHelper.ExecuteCmd(
"watch run",
"watch run --non-interactive",
workingDirectory: projectDirectory,
processConfigCallback: processConfigCallback,
expectedExitCode: null, // The exit code does not reflect whether or not dotnet watch is working properly