forceCleanupAllNoteboxes forcefully removes all noteboxes from the openboxes map This is used for test cleanup to ensure test isolation
()
| 162 | // forceCleanupAllNoteboxes forcefully removes all noteboxes from the openboxes map |
| 163 | // This is used for test cleanup to ensure test isolation |
| 164 | func forceCleanupAllNoteboxes() { |
| 165 | openboxes.Range(func(key, value interface{}) bool { |
| 166 | openboxes.Delete(key) |
| 167 | return true |
| 168 | }) |
| 169 | } |
no test coverage detected