Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 589 Bytes

local-testing.md

File metadata and controls

28 lines (19 loc) · 589 Bytes

Local Testing & Examples

Using the @badger-dao/sdk for locally testing implementations or writing examples can be done by linking a locally built version of the project. This allows developers to test their code locally as well as provide examples for how to use new features.

Build the package:

yarn build

Run yarn link from lib:

cd lib && yarn link

Link the project to write examples

yarn link "@badger-dao/sdk"

If you wish to unlink the project

yarn unlink "@badger-dao/sdk"