Closed danisharora099 closed 1 month ago
I don't believe that it's related to allure, if we don't use allure reporting we get a similar generic error without no stack trace. I also struggled with those types of failures and when I tried to debug and fix them it seemed to be related to tsconfig checks. Somehow the tests seem to be using tsconfig instead of tsconfig.dev like they should and I don't understand why. I raised this some time ago in js-waku channel and @weboko said he has in mind a fix for this
I referred to https://github.com/waku-org/js-waku/pull/1612. Let's see if after that this issue is resolved
Any steps to repro this kind of errors to verify @fbarbu15 , @danisharora099 ?
Yes, unfortunately even an unused import will trigger such failure. Steps to repro locally:
CI=True npx mocha tests/filter/single_node/ping.node.spec.ts
We see the same error as reported in the CI. If we remove the unused report(or the only flag) it will work fine
Moving to TODO for now.
Moving to TODO for now.
@weboko What is the acceptance criteria?
I was looking into this problem and noticed it happens when something throws outside of test()
function.
I don't think it is actionable - and the only way to check this is to run tests and see the stack trace.
Resolving this tasks as it is not actionable for now but let's keep an eye on failures in our CI and improve handling in case we observe problems. cc @waku-org/js-waku-developers