Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Call mockery.deregisterAll when done after registering mocks.
Browse files Browse the repository at this point in the history
Fixes hosed fs module in other tests, not currently exercised but
perhaps soon to be in tor branch.
  • Loading branch information
riastradh-brave committed May 18, 2018
1 parent 4036b7b commit 88bbfab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/app/sessionStoreTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ describe('sessionStore unit tests', function () {

after(function () {
mockery.disable()
mockery.deregisterAll()
})

describe('saveAppState', function () {
Expand Down

0 comments on commit 88bbfab

Please sign in to comment.