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

Commit

Permalink
Merge pull request #14168 from brave/riastradh-fix-sessionstoretest-m…
Browse files Browse the repository at this point in the history
…ockery

Call mockery.deregisterAll when done after registering mocks.
  • Loading branch information
bsclifton authored May 18, 2018
2 parents 4036b7b + 88bbfab commit 22e62bf
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 22e62bf

Please sign in to comment.