Skip to content

Commit ee34444

Browse files
authored
Add smoke tests for blazor (#1922)
This helps us make sure that `dotnet new blazorwasm` and `dotnet new blazorserver` continue to work with source-build. Fixes: #1724
1 parent 9872caa commit ee34444

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

smoke-test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ function doCommand() {
203203
else
204204
"${dotnetCmd}" $newArgs --no-restore >> "$logFile" 2>&1
205205
fi
206-
elif [[ "$1" == "run" && "$proj" =~ ^(web|mvc|webapi|razor)$ ]]; then
206+
elif [[ "$1" == "run" && "$proj" =~ ^(web|mvc|webapi|razor|blazorwasm|blazorserver)$ ]]; then
207207
if [ "$projectOutput" == "true" ]; then
208208
"${dotnetCmd}" $1 &
209209
else
@@ -307,6 +307,8 @@ function runWebTests() {
307307
doCommand C# mvc "$@" new restore build run
308308
doCommand C# webapi "$@" new restore build run
309309
doCommand C# razor "$@" new restore build run
310+
doCommand C# blazorwasm "$@" new restore build run
311+
doCommand C# blazorserver "$@" new restore build run
310312

311313
doCommand F# web "$@" new restore build run
312314
doCommand F# mvc "$@" new restore build run

0 commit comments

Comments
 (0)