Skip to content

Commit b3677f1

Browse files
fix: ensure tests are properly enabled when using the configure tests command (#1485)
1 parent 8f11eed commit b3677f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/configure.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,7 @@ func configureTesting(ctx context.Context, flags ConfigureTestsFlags) error {
616616
if err != nil {
617617
return errors.Wrapf(err, "failed to load config file for target %s", name)
618618
}
619+
cfg.Config.Generation.Tests.GenerateTests = true
619620
cfg.Config.Generation.Tests.GenerateNewTests = true
620621
if err := config.SaveConfig(filepath.Dir(cfg.ConfigPath), cfg.Config); err != nil {
621622
return errors.Wrapf(err, "failed to save config file for target %s", name)

0 commit comments

Comments
 (0)