Skip to content

Commit

Permalink
Merge pull request #13 from JaKXz/patch-1
Browse files Browse the repository at this point in the history
docs: mentions custom axios instance for setup methods
  • Loading branch information
mzabriskie authored Jan 10, 2017
2 parents 77990eb + 2944718 commit 1434a89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ describe('mocking axios requests', function () {
describe('across entire suite', function () {

beforeEach(function () {
// import and pass your custom axios instance to this method
moxios.install()
})

afterEach(function () {
// import and pass your custom axios instance to this method
moxios.uninstall()
})

Expand Down

0 comments on commit 1434a89

Please sign in to comment.