Migrating off Jasmine
Completing what #1809 started. Probably replace jasmine with vitest in #1803
To do:
- Remove any uses of the
fail()global like
https://github.com/cosmos/cosmjs/blob/8fb7421c573252f794c6de830c86c2aca20a6bb6/packages/tendermint-rpc/src/tendermint34/tendermint34client.spec.ts#L701
- And replace the numerous
pending()calls instargateandcosmwasm-stargatewithxdescribe()
https://github.com/cosmos/cosmjs/blob/8fb7421c573252f794c6de830c86c2aca20a6bb6/packages/cosmwasm-stargate/src/cosmwasmclient.spec.ts#L45
Related: #1688
What's the motivation for migrating away from Jasmine? Looks like a significant endeavor with unclear reasoning right now.
Was looking at replacing karma #1688 and Vitest looked like the way to go, it's one simple tool for running all of the tests, in node and in browser.
It also doesn't require a separate TS-to-JS transpile step, it runs *.spec.ts files directly.
Ah, nice, thanks, understood. Sounds good.