From ca014600a89814b1187f4a79d58e78e8416f243a Mon Sep 17 00:00:00 2001 From: nhatthm Date: Wed, 12 May 2021 13:31:01 +0200 Subject: [PATCH] Reset dir after scenario --- manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/manager.go b/manager.go index 0113cf7..b77e321 100644 --- a/manager.go +++ b/manager.go @@ -41,6 +41,7 @@ func (m *Manager) RegisterContext(td TempDirer, ctx *godog.ScenarioContext) { ctx.AfterScenario(func(*godog.Scenario, error) { m.cleanup() + _ = m.resetDir() // nolint: errcheck }) // Utils.