Skip to content

Commit

Permalink
add warning about cypress.reporters (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhan83 authored Jul 18, 2024
1 parent 9491a68 commit f35081c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/cypress/v1/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ func (p *Project) Validate() error {
return fmt.Errorf(msg.InvalidLaunchingOption, p.Sauce.LaunchOrder, string(config.LaunchOrderFailRate))
}

if len(p.Cypress.Reporters) > 0 {
log.Warn().Msg("cypress.reporters has been deprecated. Migrate your reporting configuration to your cypress config file.")
}

// Validate suites.
if len(p.Suites) == 0 {
return errors.New(msg.EmptySuite)
Expand Down

0 comments on commit f35081c

Please sign in to comment.