Can TestContext and/or TestServiceProvider be made to implement IAsyncDisposable?
Is your feature request related to a problem? Please describe.
I'm getting an exception on my test TearDown method, where I'm calling _context?.Dispose()
System.InvalidOperationException : 'MyService' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container.
I believe this related to #233. The MyService type uses an IJSObjectReference internally and so it implements IAsyncDisposable
Can
TestContextand/orTestServiceProviderbe made to implementIAsyncDisposable?Is your feature request related to a problem? Please describe.
I'm getting an exception on my test
TearDownmethod, where I'm calling_context?.Dispose()System.InvalidOperationException: 'MyService' type only implements IAsyncDisposable. Use DisposeAsync to dispose the container.I believe this related to #233. The
MyServicetype uses anIJSObjectReferenceinternally and so it implementsIAsyncDisposable