Closed nedsalk closed 15 hours ago
@maschad you searched for /test-utils
which is showing results for fuels/test-utils
, @fuel-ts/utils/test-utls
, @fuel-ts/account/test-utils
, etc. This consolidates it all to use import from fuels/test-utils
.
@maschad you searched for
/test-utils
which is showing results forfuels/test-utils
,@fuel-ts/utils/test-utls
,@fuel-ts/account/test-utils
, etc. This consolidates it all to use import fromfuels/test-utils
.
Thanks for the clarification, if you update the search to be explicit for @fuel-ts/errors/test-utils
@fuel-ts/account/test-utils
and @fuel-ts/utils/test-utils
you will see quite a few files. I've elaborated more here
@danielbate is right in https://github.com/FuelLabs/fuels-ts/pull/2637#pullrequestreview-2153497159.
As for the snippets and some leftovers that I didn't fix, I fixed them in https://github.com/FuelLabs/fuels-ts/pull/2637/commits/f980df50428e24509449dd11ee6dfd8109aa82f7 and https://github.com/FuelLabs/fuels-ts/pull/2637/commits/5131778d863af12360e13ebb5fbd0aba5cd9d957.
Coverage Report:
Lines | Branches | Functions | Statements |
---|---|---|---|
79.54%(+0%) | 71.37%(+0%) | 76.91%(+0%) | 79.62%(+0%) |
I exported the utils via the
fuels
umbrella package and changed imports to import fromfuels
accordingly. The changes in this PR are exclusively tied to that and runningpnpm lint:fix
afterwards.