Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit f08bdbd

Browse files
Remove template test workaround because it's no longer needed
1 parent 5af7786 commit f08bdbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ public void TemplateRestoresAndBuildsWithoutWarnings(
4242
bool skipSpaWebpackSteps)
4343
{
4444
string rootPath = TestAssets.CreateTestDirectory(identifier: $"{language}_{projectType}").FullName;
45-
//This works around the SPA templates not currently supporting the "--no-restore" switch
46-
string noRestoreDirective = skipSpaWebpackSteps ? "" : "--no-restore";
45+
string noRestoreDirective = "--no-restore";
4746

4847
new TestCommand("dotnet") { WorkingDirectory = rootPath }
4948
.Execute($"new {projectType} -lang {language} -o {rootPath} --debug:ephemeral-hive {noRestoreDirective}")

0 commit comments

Comments
 (0)