You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to make the test code clean , so there's no much waitFor , just await, like asynctest does
procsomeAsyncProc {.async.} =# perform some async operations using await discardsuite"test async proc":
setup: # invoke await in the test setup: awaitsomeAsyncProc()
teardown: # invoke await in the test teardown: awaitsomeAsyncProc()
test"async test": # invoke await in tests: awaitsomeAsyncProc()
am wondering whether it's not hard add
async
pragma to method and prependwaitFor
to all methods callThe text was updated successfully, but these errors were encountered: