Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Commit 90e588c

Browse files
authored
Merge pull request #35 from LinusU/object-shorthand
Use object shorthand for properties
2 parents d391059 + acfcb68 commit 90e588c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe('Router', function () {
9797
}
9898

9999
return makeFetcher(router).fetch('/', {
100-
method: method
100+
method
101101
})
102102
.then(function (res) {
103103
expect(res.status).to.equal(200)
@@ -153,7 +153,7 @@ describe('Router', function () {
153153
router[method]('/foo', helloWorld)
154154

155155
return makeFetcher(router).fetch('/foo', {
156-
method: method
156+
method
157157
})
158158
.then(function (res) {
159159
expect(res.status).to.equal(200)
@@ -169,7 +169,7 @@ describe('Router', function () {
169169
router[method]('/foo', [helloWorld])
170170

171171
return makeFetcher(router).fetch('/foo', {
172-
method: method
172+
method
173173
})
174174
.then(function (res) {
175175
expect(res.status).to.equal(200)
@@ -200,7 +200,7 @@ describe('Router', function () {
200200
})
201201

202202
return makeFetcher(router).fetch('/123', {
203-
method: method
203+
method
204204
})
205205
.then(function (res) {
206206
expect(res.status).to.equal(200)

0 commit comments

Comments
 (0)