Skip to content

Commit c1bac2b

Browse files
committed
refactor(test): simplify mock data
1 parent e51c4a9 commit c1bac2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"espower-babel": "^3.3.0",
4444
"gitbook-cli": "^0.3.4",
4545
"gitbook-plugin-edit-link": "^1.4.1",
46+
"gitbook-plugin-include-codeblock": "^1.4.0",
4647
"gitbook-plugin-richquotes": "0.0.5",
4748
"gitbook-summary-to-path": "^1.0.1",
4849
"jsdom": "^6.3.0",

test/connect/hello-test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ describe("connect", function () {
7878
});
7979
it("should return request as response", function () {
8080
var requestBody = {
81-
name: "Hubot",
82-
login: "hubot"
81+
key: "value"
8382
};
8483
return fetch("http://localhost:3000", {
8584
method: "POST",

0 commit comments

Comments
 (0)