werner77 opened this issue 5 years ago · 1 comments
For testing it's convenient to be able to destroy the context after each test and set it up before.
Can be as easy as:
extension DependencyContext { static func destroy() { self.root = nil } }