Skip to content

Commit

Permalink
chore: remove unused functiont
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand committed Jan 21, 2025
1 parent 146deb8 commit 7caaa16
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/cmds/start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,6 @@ func startDevnet(t *testing.T, devnetConfig config.DevnetConfig, workingDir stri
require.NoError(t, err, "Failed to start new devnet")
}

func goToDir(t *testing.T, destination string) {
dir, err := os.Getwd()
require.NoError(t, err, "Failed to get cwd")

err = os.Chdir(destination)
require.NoError(t, err, "Failed to go to repo root")

t.Cleanup(func() {
// Return to the original directory
err = os.Chdir(dir)
// Panic if failed, to avoid running other tests in the wrong directory
if err != nil {
panic(err)
}
})
}

func TestStartDefaultDevnet(t *testing.T) {
t.Parallel()
startDevnet(t, config.DefaultConfig(), examplesDir)
Expand Down

0 comments on commit 7caaa16

Please sign in to comment.