Skip to content

Commit

Permalink
Fix parallel testing flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Evenprime committed Apr 2, 2024
1 parent fe0e306 commit 131bc61
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -124,7 +124,7 @@ class MockKExtension : TestInstancePostProcessor, ParameterResolver, AfterAllCal
}
} finally {
// Clear all mocks after missed verifications or unnecessary stubs. Solves Issue #963.
if (!context.keepMocks || context.requireParallelTesting) {
if (!context.keepMocks && !context.requireParallelTesting) {
clearAllMocks()
}
}
Expand Down

0 comments on commit 131bc61

Please sign in to comment.