From c339e204b22af041c8378c4ba8e80889303bdcc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9line=20Bensoussan?= Date: Mon, 14 Jan 2019 14:42:17 -0500 Subject: [PATCH] Add test for shorthand case --- types/http-proxy-middleware/http-proxy-middleware-tests.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/http-proxy-middleware/http-proxy-middleware-tests.ts b/types/http-proxy-middleware/http-proxy-middleware-tests.ts index aae082a956..fd360745bf 100644 --- a/types/http-proxy-middleware/http-proxy-middleware-tests.ts +++ b/types/http-proxy-middleware/http-proxy-middleware-tests.ts @@ -140,3 +140,6 @@ proxy({ proxy({ headers: {host: 'www.example.org'} }); + +// Shorthands +proxy('/'); \ No newline at end of file