Skip to content

Commit

Permalink
docs: added matchers (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xGorilla authored Jun 22, 2023
1 parent 3039e4d commit 55212cd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,13 @@ If you'd like to use mocks, you **must** update your :code:`hardhat.config.<js/t
}
export default config
Optional config to use Smock Matchers
-------------------------------------


.. code-block:: typescript
// ContractTest.ts
import { smock } from '@defi-wonderland/smock';
chai.use(smock.matchers);

0 comments on commit 55212cd

Please sign in to comment.