1.0.0 • Published 9 months ago

@aetherswap/core-sdk v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Aetherswap Core SDK

code style: prettier Unit Tests Lint npm version npm bundle size (scoped version)

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/aetherswap/core-sdk.git

Move into the core-sdk working directory

cd core-sdk

Install dependencies

yarn install

Run tests

yarn test

You should see output like the following:

$ tsdx test
 PASS  test/computePriceImpact.test.ts
 PASS  test/sortedInsert.test.ts
 PASS  test/token.test.ts
 PASS  test/ether.test.ts
 PASS  test/sqrt.test.ts
 PASS  test/currency.test.ts

Test Suites: 0 skipped, 0 passed, 6 of 7 total
Tests:       0 skipped, 0 passed, 11 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.