Skip to content

Commit

Permalink
Update context-isolation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
igorwojda authored Jul 11, 2024
1 parent 51541fa commit 8de1180
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/reference/koin-core/context-isolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ To test classes that are retrieving dependencies with `by inject()` delegate ove

```kotlin
class MyClassTest : KoinTest {
// Koin Context used to retrieve bindings
// Koin Context used to retrieve dependencies
override fun getKoin(): Koin = MyIsolatedKoinContext.koin

@Before
fun setUp() {
// Define custom Koin module
val module = module {
// Register dependencies
}
Expand Down

0 comments on commit 8de1180

Please sign in to comment.