mirror of
https://github.com/hanzoai/passport-saml.git
synced 2026-09-24 17:01:45 +00:00
Add code coverage (#701)
This commit is contained in:
@@ -6,6 +6,8 @@ yarn-error.log
|
||||
.DS_Store
|
||||
.eslintcache
|
||||
.dir-locals.el
|
||||
.nyc_output/
|
||||
coverage/
|
||||
|
||||
## Local VS code settings and debug profiles
|
||||
.vscode
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"extends": "@istanbuljs/nyc-config-typescript",
|
||||
"all": true,
|
||||
"check-coverage": false,
|
||||
"reporter": ["lcov", "text"],
|
||||
"include": ["src/**"]
|
||||
}
|
||||
@@ -4,3 +4,5 @@ lib
|
||||
package-lock.json
|
||||
.eslintcache
|
||||
.prettierignore
|
||||
.nyc_output
|
||||
coverage
|
||||
|
||||
Generated
+960
-5
File diff suppressed because it is too large
Load Diff
+4
-2
@@ -43,7 +43,7 @@
|
||||
"prettier-format": "prettier --config .prettierrc.json --write .",
|
||||
"prettier-watch": "onchange -k -p 100 \".\" -- prettier --config .prettierrc.json --write {{file}}",
|
||||
"release": "release-it",
|
||||
"test": "npm run prettier-check && npm run lint && npm run tsc && mocha",
|
||||
"test": "npm run prettier-check && npm run lint && npm run tsc && nyc mocha",
|
||||
"test-watch": "mocha --watch",
|
||||
"tsc": "tsc",
|
||||
"tsc-watch": "tsc --watch",
|
||||
@@ -59,6 +59,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cjbarth/github-release-notes": "^1.0.1",
|
||||
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
||||
"@types/body-parser": "^1.19.2",
|
||||
"@types/chai": "^4.3.1",
|
||||
"@types/express-session": "^1.17.4",
|
||||
@@ -79,13 +80,14 @@
|
||||
"express": "^4.17.3",
|
||||
"express-session": "^1.17.3",
|
||||
"mocha": "^10.0.0",
|
||||
"nyc": "^15.1.0",
|
||||
"onchange": "^7.1.0",
|
||||
"prettier": "^2.7.1",
|
||||
"prettier-plugin-packagejson": "^2.2.18",
|
||||
"release-it": "^14.14.3",
|
||||
"request": "^2.83.0",
|
||||
"sinon": "^14.0.0",
|
||||
"ts-node": "^10.8.1",
|
||||
"ts-node": "^10.8.0",
|
||||
"typescript": "^4.7.3",
|
||||
"xml2js": "^0.4.23"
|
||||
},
|
||||
|
||||
+1
-8
@@ -65,12 +65,5 @@
|
||||
"skipLibCheck": true /* Skip type checking of declaration files. */,
|
||||
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"docs",
|
||||
"lib",
|
||||
"multiSamlStrategy.js",
|
||||
"multiSamlStrategy.d.ts",
|
||||
"test"
|
||||
]
|
||||
"exclude": ["node_modules", "docs", "lib", "test", "coverage"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user