Skip to content

Commit

Permalink
Stop Koin properly in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Dyatlov committed Jul 18, 2024
1 parent c568cfa commit d7c7bc6
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ class CacheScenarios : Spek(
container.stop()
}

afterEachTest {
stopKoin()
}

given("cache is enabled") {
group("the first execution of the test") {
it("should execute the test") {
Expand Down Expand Up @@ -110,5 +106,7 @@ private fun TestBody.runMarathonWithOneTest(

marathon.runAsync()

stopKoin()

output!!
}

0 comments on commit d7c7bc6

Please sign in to comment.