1.0.7 • Published 3 years ago
@yeswap/sdk v1.0.7
Feswap SDK
This SDK is forked from https://github.com/FeSwap/feswap-sdk.git
Running tests
To run the tests, follow these steps. You must have at least node v10 and yarn installed.
First clone the repository:
git clone https://github.com/YeSwapFi/Yeswap-sdk.git
Move into the feswap-sdk working directory
cd Yeswap-sdk/
Install dependencies
yarn install
Build project
yarn build
Publish project
yarn publish --access public
Run tests
yarn test
You should see output like the following:
yarn run v1.22.11
$ tsdx test
PASS test/constants.test.ts (30.944s)
PASS test/token.test.ts (44.057s)
PASS test/route.test.ts (44.109s)
PASS test/fraction.test.ts (44.17s)
PASS test/pair.test.ts (44.166s)
PASS test/miscellaneous.test.ts (44.187s)
PASS test/router.test.ts (44.234s)
PASS test/entities.test.ts (44.315s)
PASS test/trade.test.ts (44.349s)
Test Suites: 1 skipped, 9 passed, 9 of 10 total
Tests: 3 skipped, 126 passed, 129 total
Snapshots: 0 total
Time: 54.484s
Ran all test suites.
Done in 58.17s.