Skip to content

Commit feaf292

Browse files
andrewradamis-vividseatsonsi
authored andcommittedMar 21, 2025·
Bug Fix: Add GinkoTBWrapper.Chdir() and GinkoTBWrapper.Context()
1 parent 88e2282 commit feaf292

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎ginkgo_t_dsl.go

+6
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ type GinkgoTBWrapper struct {
130130
func (g *GinkgoTBWrapper) Cleanup(f func()) {
131131
g.GinkgoT.Cleanup(f)
132132
}
133+
func (g *GinkgoTBWrapper) Chdir(dir string) {
134+
g.GinkgoT.Chdir(dir)
135+
}
136+
func (g *GinkgoTBWrapper) Context() context.Context {
137+
return g.GinkgoT.Context()
138+
}
133139
func (g *GinkgoTBWrapper) Error(args ...any) {
134140
g.GinkgoT.Error(args...)
135141
}

0 commit comments

Comments
 (0)
Please sign in to comment.