Problem: Mocha custom reporter still does not support ES Modules.
As long as we use mocha, we cannot have top-level awaits, such as the one in module.ts.
|
const request = await Message.uploadFile(folder + module); |
Workarounds like calling an async function do not work either, in that case the tests do not get loaded.
Why we want this fixed: However, awaits when building tests is extremely useful. We often want to compile stuff at this point.
Problem: Mocha custom reporter still does not support ES Modules.
As long as we use mocha, we cannot have top-level awaits, such as the one in
module.ts.latch/test/module.ts
Line 19 in e549720
Workarounds like calling an async function do not work either, in that case the tests do not get loaded.
Why we want this fixed: However, awaits when building tests is extremely useful. We often want to compile stuff at this point.