From acfcb685ff54cb678f562f553c173399aa31be74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Sun, 26 Apr 2020 15:08:40 +0100 Subject: [PATCH] Use object shorthand for properties --- test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test.js b/test.js index 3e447df..12d810f 100644 --- a/test.js +++ b/test.js @@ -97,7 +97,7 @@ describe('Router', function () { } return makeFetcher(router).fetch('/', { - method: method + method }) .then(function (res) { expect(res.status).to.equal(200) @@ -153,7 +153,7 @@ describe('Router', function () { router[method]('/foo', helloWorld) return makeFetcher(router).fetch('/foo', { - method: method + method }) .then(function (res) { expect(res.status).to.equal(200) @@ -169,7 +169,7 @@ describe('Router', function () { router[method]('/foo', [helloWorld]) return makeFetcher(router).fetch('/foo', { - method: method + method }) .then(function (res) { expect(res.status).to.equal(200) @@ -200,7 +200,7 @@ describe('Router', function () { }) return makeFetcher(router).fetch('/123', { - method: method + method }) .then(function (res) { expect(res.status).to.equal(200)