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
Presently our setup can be more efficient and a lot of config duplications can be removed.
Solution
We should revisit our karma, chai setup.
Organize setup scripts for them and share between packages.
TODO
move chai/mocha dependencies to root package.json;
add root configuration for them with needed plugins such as chai-as-promised;
unit tests have shared code that generates mocked objects for libp2p primitives - we need to decouple it to a new package @waku/test-utils (example of such utils - here);
The text was updated successfully, but these errors were encountered:
weboko
added
the
test
Issue related to the test suite with no expected consequence to production code
label
Oct 7, 2024
Problem
Presently our setup can be more efficient and a lot of config duplications can be removed.
Solution
We should revisit our
karma
,chai
setup.Organize setup scripts for them and share between packages.
TODO
chai
/mocha
dependencies to rootpackage.json
;chai-as-promised
;libp2p
primitives - we need to decouple it to a new package@waku/test-utils
(example of such utils - here);The text was updated successfully, but these errors were encountered: