cowprotocol / cow-sdk

CoW protocol SDK
https://docs.cow.fi/cow-protocol/reference/sdks/cow-sdk
Other
31 stars 9 forks source link

Add global imports for jest #157

Closed anxolin closed 1 year ago

anxolin commented 1 year ago

Add global import support for jest

it was possible before to use global import (instead of relative) for any TS code, but not in tests.

This makes the test to break as soon as you use something with a global import.

This PR fixes this.

github-actions[bot] commented 1 year ago

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

coveralls commented 1 year ago

Coverage Status

coverage: 72.617%. remained the same when pulling ac42acb061260579f75c4353f2fabe00ec3ab1b7 on add-support-global-imports-jest into 4fcd0cc8b9764dca48de59369c18b7e653e3a067 on main.