Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
exit: true,
timeout: 60000,
checkLeaks: false,
require: ['coffee-script/register'],
};
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ test-cov:
rm -rf lib-js lib-js-cov
coffee -c -o lib-js lib
jscoverage lib-js lib-js-cov
NODE_ENV=test TEST_COV_SAML2=1 node_modules/mocha/bin/mocha -R html-cov --ignore-leaks --compilers coffee:coffee-script/register test/*.coffee | tee coverage.html
NODE_ENV=test TEST_COV_SAML2=1 node_modules/mocha/bin/mocha -R html-cov test/*.coffee | tee coverage.html
open coverage.html

test: build
NODE_ENV=test node_modules/mocha/bin/mocha --ignore-leaks --timeout 60000 -R spec --compilers coffee:coffee-script/register test/*.coffee
NODE_ENV=test node_modules/mocha/bin/mocha -R spec test/*.coffee

clean:
rm -rf lib-js lib-js-cov
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Clever",
"main": "index.js",
"engines": {
"node": ">=0.10.x"
"node": ">=10.x"
},
"scripts": {
"test": "make -Br test",
Expand All @@ -24,17 +24,17 @@
"url": "https://github.com/Clever/saml2/issues"
},
"devDependencies": {
"mocha": "^3.5.0",
"mocha": "^8.2.0",
"coffee-script": "^1.12.0"
},
"dependencies": {
"async": "^2.5.0",
"debug": "^2.6.0",
"underscore": "^1.8.0",
"xml-crypto": "^0.10.0",
"async": "^3.2.0",
"debug": "^4.2.0",
"underscore": "^1.11.0",
"xml-crypto": "^2.0.0",
"xml-encryption": "^1.2.1",
"xml2js": "^0.4.0",
"xml2js": "^0.4.23",
"xmlbuilder": "~2.2.0",
"xmldom": "^0.1.0"
"xmldom": "^0.3.0"
}
}