Closed ersimont closed 1 year ago
If a context throws an error during cleanup, it can leave .current defined and cause all remaining tests to fail.
.current
An old TODO in ComponentContext.constructor:
ComponentContext.constructor
// TODO: once cleanup of contexts is not so touchy, move this below super() and use shortcut `private` declarations on constructor params
If a context throws an error during cleanup, it can leave
.current
defined and cause all remaining tests to fail.