From 8d22ca66bae73be5cccc9973f8500afbf21ae2c9 Mon Sep 17 00:00:00 2001 From: Eneko Lakasta Date: Tue, 6 Mar 2018 15:26:35 +0100 Subject: [PATCH] fix tests --- test/unit/cartodb/prepare-context.test.js | 2 ++ 1 file changed, 2 insertions(+) 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; }