Skip to content

Commit

Permalink
Merge pull request #1238 from Evenprime/fix_parallel_testing
Browse files Browse the repository at this point in the history
Fix parallel testing flag
  • Loading branch information
Raibaz committed Apr 2, 2024
2 parents fe0e306 + 131bc61 commit 143f6bb
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 143f6bb

Please sign in to comment.