Ivan Folgueira Bande 2f6de9187f Squashed 'third-party/nwaku/' content from commit d94cb7c7
git-subtree-dir: third-party/nwaku
git-subtree-split: d94cb7c73631ffd4b934839ba58bc622d331a135
2025-10-02 11:52:12 +02:00

38 lines
716 B
Nim

import testutils/unittests, chronos
template xsuite*(name: string, body: untyped) =
discard
template suitex*(name: string, body: untyped) =
discard
template xprocSuite*(name: string, body: untyped) =
discard
template procSuitex*(name: string, body: untyped) =
discard
template xtest*(name: string, body: untyped) =
test name:
skip()
template testx*(name: string, body: untyped) =
test name:
skip()
template xasyncTest*(name: string, body: untyped) =
test name:
skip()
template asyncTestx*(name: string, body: untyped) =
test name:
skip()
template waitActive*(condition: bool) =
for i in 0 ..< 200:
if condition:
break
await sleepAsync(10)
assert condition