Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
test: add superagent tests for SDK (#240)
Browse files Browse the repository at this point in the history
* Attempt to setup test for SDK and BOT server

* Refactor app to only return server instead of starting it to allow supertest to manage server lifecycle

* fix: add test for sdk ping route

This asserts that SDK router was mounted properly

* chore: update test name
  • Loading branch information
mattmazzola committed Jul 10, 2018
1 parent 5a729d5 commit 887a31f
Show file tree
Hide file tree
Showing 7 changed files with 2,650 additions and 107 deletions.
6 changes: 3 additions & 3 deletions .vscode/launch.json
Expand Up @@ -9,7 +9,7 @@
"type": "node",
"request": "launch",
"name": "Empty Bot",
"program": "${workspaceFolder}/lib/app.js",
"program": "${workspaceFolder}/lib/server.js",
"outFiles": [
"${workspaceFolder}/**/*.js"
],
Expand All @@ -21,7 +21,7 @@
"type": "node",
"request": "launch",
"name": "tutorialGeneral",
"program": "${workspaceFolder}/lib/app.js",
"program": "${workspaceFolder}/lib/server.js",
"outFiles": [
"${workspaceFolder}/**/*.js"
],
Expand Down Expand Up @@ -139,7 +139,7 @@
"type": "node",
"request": "launch",
"name": "Empty App with Fiddler",
"program": "${workspaceFolder}/lib/app.js",
"program": "${workspaceFolder}/lib/server.js",
"outFiles": [
"${workspaceFolder}/**/*.js"
],
Expand Down

0 comments on commit 887a31f

Please sign in to comment.