I adjusted the "get Urls" test from the samlTests.spec.ts file to omit the issuer (mimicking our app's previous setup), and got a runtime error of "issuer is required" when it was run
1) SAML.js
get Urls
"before each" hook for "calls callback with original query string":
TypeError: issuer is required
at assertRequired (src/utility.ts:2:667)
at SAML.initialize (src/saml.ts:2:4711)
at new SAML (src/saml.ts:2:4242)
at Context.<anonymous> (test/samlTests.spec.ts:16:14)
at processImmediate (internal/timers.js:464:21)
Expected behavior
The TSC should've have failed beforehand when checking types instead
Environment
Node.js version: v14.19.0
node-saml version: Tip of master branch - commit SHA: abfb20d668b148f63e4acf8892f87853e3a9c168
To Reproduce
I adjusted the "get Urls" test from the samlTests.spec.ts file to omit the issuer (mimicking our app's previous setup), and got a runtime error of "issuer is required" when it was run
Expected behavior The TSC should've have failed beforehand when checking types instead
Environment