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

Commit

Permalink
Use object shorthand for properties
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Apr 26, 2020
1 parent c7bde1d commit acfcb68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe('Router', function () {
}

return makeFetcher(router).fetch('/', {
method: method
method
})
.then(function (res) {
expect(res.status).to.equal(200)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -200,7 +200,7 @@ describe('Router', function () {
})

return makeFetcher(router).fetch('/123', {
method: method
method
})
.then(function (res) {
expect(res.status).to.equal(200)
Expand Down

0 comments on commit acfcb68

Please sign in to comment.