Commit 58e214a2 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #423 from hypothesis/simplify-a-test-fake

Simplify a test fake
parents c88b3f07 02abcb7e
......@@ -2,9 +2,7 @@
var proxyquire = require('proxyquire');
var fakeSharedSettings = {
jsonConfigsFrom: sinon.stub(),
};
var fakeSharedSettings = {};
var fakeSettings = {};
var configFrom = proxyquire('../index', {
......@@ -30,8 +28,7 @@ describe('annotator.config', function() {
});
beforeEach('reset fakeSharedSettings', function() {
fakeSharedSettings.jsonConfigsFrom.reset();
fakeSharedSettings.jsonConfigsFrom.returns({});
fakeSharedSettings.jsonConfigsFrom = sinon.stub().returns({});
});
beforeEach('reset fakeSettings', function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment