Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testmain?
Browse files Browse the repository at this point in the history
captncraig committed Dec 19, 2023
1 parent ed4c24c commit 42fe213
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/agentseed/agentseed_test.go
Original file line number Diff line number Diff line change
@@ -10,6 +10,12 @@ import (
"github.com/stretchr/testify/require"
)

func TestMain(m *testing.M) {
os.Remove(legacyPath())
exitVal := m.Run()
os.Exit(exitVal)
}

func reset() {
os.Remove(legacyPath())
savedSeed = nil

0 comments on commit 42fe213

Please sign in to comment.