Commit Graph

4 Commits

Author SHA1 Message Date
Caleb Kniffen
c143dc3e99 test: run address-codec tests in the browser (#2466)
Update tests to use jasmine compatible functions.

This means changing `test` to `it`, `toStrictEqual` to `toEqual` (which
is still strict), `toThrowError` to `toError`, and updating the param
for toError to pass an `Error` object.

Remove the need to specify --single-run.
2024-02-01 13:45:11 -06:00
Caleb Kniffen
21c2423bac test: remove extra polyfills only for testing (#2428)
Removes the testing polyfills by using jasmine and not jest in the
browser. We were already using jasmine but where overriding those
methods with jest versions which was not needed.

The previous karma setup also used a single entrypoint which meant that
not all integration tests were running because all files were not
imported in integrations/index.ts.

This also eliminates 79 dev dependencies.
2024-02-01 13:43:55 -06:00
Mayukha Vadari
c647be701e test: fix Escrow integration tests (#2305)
* improve runtime of TrustSet integ test

* fix EscrowFinish test

* finish EscrowCancel test

* add comment

* fix linter issues

* fix browser tests

---------

Co-authored-by: Caleb Kniffen <ckniffen@ripple.com>
Co-authored-by: justinr1234 <justinr1234@gmail.com>
2023-05-31 11:46:00 -05:00
justinr1234
5fe480ece4 feat: Jest Test Runner (#2170) 2023-02-03 17:03:07 -06:00