backstop-syndicate / dai-backstop-syndicate

A pooled liquidity contract for participating in the upcoming MKR auction at a "backstop" price of 1 MKR per 100 Dai.
Creative Commons Zero v1.0 Universal
29 stars 10 forks source link

Unit tests #25

Closed PhABC closed 4 years ago

PhABC commented 4 years ago

To run tests:

> yarn install
> yarn build
> yarn ganache
> yarn test (in a different window)

Tests can be added in src/tests/DaiBackstopSyndicate.spec.ts.

Note that tests are currently failing because JOIN_DAI is not probably setup (see here).