1
0
mirror of https://github.com/waku-org/nwaku.git synced 2025-02-18 18:06:28 +00:00

18 lines
268 B
Nim

import
unittest2
export
unittest2
template procSuite*(name: string, body: untyped) =
proc suitePayload =
suite name, body
suitePayload()
template asyncTest*(name, body: untyped) =
test name:
proc scenario {.async.} = body
waitFor scenario()