Open werner77 opened 4 years ago
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 } }
For testing it's convenient to be able to destroy the context after each test and set it up before.