diff --git a/test/unit/cartodb/prepare-context.test.js b/test/unit/cartodb/prepare-context.test.js index 2eb7e890..b2864c1a 100644 --- a/test/unit/cartodb/prepare-context.test.js +++ b/test/unit/cartodb/prepare-context.test.js @@ -61,6 +61,8 @@ describe('prepare-context', function() { } res.locals.user = 'localhost'; + res.set = function () {}; + return res; }