public void InvalidGroupCommands(string executeCommand, LogEventId expectedErrorCode) { var config = Build(executeCommands: executeCommand) .AddJavaScriptProject("@ms/project-A", "src/A") .PersistSpecsAndGetConfiguration(); var result = RunRushProjects(config, new[] {
public void InvalidRushCommands(string commands, LogEventId expectedLogEventId) { var engineResult = BuildDummyWithCommands(commands); Assert.False(engineResult.IsSuccess); AssertErrorEventLogged(expectedLogEventId); }