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

Use object shorthand for properties #35

Merged
merged 1 commit into from May 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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