add snapshot tests for invites endpoint

This commit is contained in:
Riku Rouvila
2017-09-03 14:59:09 +01:00
parent 07b695612f
commit 2096662b70
6 changed files with 2182 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "jest",
"start": "node index.js",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
@@ -38,5 +38,10 @@
"validator": "^3.27.0",
"snyk": "^1.38.1"
},
"snyk": true
"snyk": true,
"devDependencies": {
"jest": "^20.0.4",
"superagent-mocker": "maxkoryukov/superagent-mocker#feature/mock-field-method",
"supertest": "^3.0.0"
}
}