From e3b68e9952c8ccea1b0c6904d1763dd7e2197e01 Mon Sep 17 00:00:00 2001 From: Nanda Date: Wed, 1 May 2024 17:15:26 +1000 Subject: [PATCH] Fixes broken specs. Adds a missing stub for abort method. --- spec/proxy.spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/proxy.spec.js b/spec/proxy.spec.js index 66f7772..57347c1 100644 --- a/spec/proxy.spec.js +++ b/spec/proxy.spec.js @@ -604,7 +604,9 @@ describe('proxy', function() { } return request; - } + }, + + abort: () => {/* called by proxy.js on connection close */} }; return request;