Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
swap-v2-sdk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
swap-v2-sdk
Commits
e087df5f
Unverified
Commit
e087df5f
authored
May 28, 2020
by
Moody Salem
Committed by
GitHub
May 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
9d94967b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
README.md
README.md
+48
-0
No files found.
README.md
View file @
e087df5f
...
...
@@ -6,3 +6,51 @@
[

](https://bundlephobia.com/result?p=@uniswap/sdk@latest)
In-depth documentation on this SDK is available at
[
uniswap.org
](
https://uniswap.org/docs/v2/SDK/getting-started/
)
.
## Running tests
To run the tests, follow these steps. You must have at least node v10 and
[
yarn
](
https://yarnpkg.com/
)
installed.
First clone the repository:
```
sh
git clone https://github.com/Uniswap/uniswap-sdk.git
```
Move into the uniswap-sdk working directory
```
sh
cd
uniswap-sdk/
```
Install dependencies
```
sh
yarn
install
```
Run tests
```
sh
yarn
test
```
You should see output like the following:
```
sh
yarn run v1.22.4
$
tsdx
test
PASS
test
/constants.test.ts
PASS
test
/pair.test.ts
PASS
test
/fraction.test.ts
PASS
test
/miscellaneous.test.ts
PASS
test
/entities.test.ts
PASS
test
/trade.test.ts
Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests: 3 skipped, 82 passed, 85 total
Snapshots: 0 total
Time: 5.091s
Ran all
test
suites.
✨ Done
in
6.61s.
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment