Skip to content

Commit

Permalink
test: remove unneded stub for app-config
Browse files Browse the repository at this point in the history
Previous code was based on
an error in proxyquire: <2.0.0
thlorenz/proxyquire#190
  • Loading branch information
espy committed Apr 20, 2018
1 parent 47857da commit 4afd63d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/unit/config-test.js
Expand Up @@ -29,14 +29,12 @@ var serverMock = {
var adminsConfigMock = simple.stub().callbackWith(null)
var couchDbConfigMock = simple.stub().callbackWith(null)
var configPouchDbMock = simple.stub().callbackWith(null)
var appOptionsMock = simple.stub().returnWith('app options')
var secretConfigMock = simple.stub().callbackWith(null)
var storeConfigMock = simple.stub().callbackWith(null)

var getConfig = proxyquire('../../lib/config', {
'./account': accountConfigMock,
'./admins': adminsConfigMock,
'./app-options': appOptionsMock,
'./configure-pouchdb': configPouchDbMock,
'./secret': secretConfigMock,
'./store': storeConfigMock,
Expand Down

0 comments on commit 4afd63d

Please sign in to comment.