Task.async needs to do something your test can observe. Most often people make the code in the async send a message to the test process or another location, which is known and can be observed.
Task.async needs to do something your test can observe. Most often people make the code in the async send a message to the test process or another location, which is known and can be observed.