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

Commit

Permalink
Merge pull request #35 from LinusU/object-shorthand
Browse files Browse the repository at this point in the history
Use object shorthand for properties
  • Loading branch information
postatum committed May 1, 2020
2 parents d391059 + acfcb68 commit 90e588c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test.js
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 90e588c

Please sign in to comment.