Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Commit

Permalink
Reset dir after scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatthm committed May 12, 2021
1 parent d29bd17 commit ca01460
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ca01460

Please # to comment.