Skip to content

Commit

Permalink
♻️ Add testutil.NewContext
Browse files Browse the repository at this point in the history
  • Loading branch information
H1rono committed Jan 2, 2025
1 parent e232fc3 commit fcde0fa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions testutil/context.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package testutil

import (
"context"
"testing"
)

func NewContext(t *testing.T) context.Context {
t.Helper()
return context.Background()
}

0 comments on commit fcde0fa

Please sign in to comment.