projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow config of session cookie sameSite value
[squeep-authentication-module]
/
test
/
lib
/
session-manager.js
diff --git
a/test/lib/session-manager.js
b/test/lib/session-manager.js
index 888cfa5c10fcb25d07325894023cb2cbe1caa8b0..40322c19655b19ae433ef3d8d54662724f2b5d80 100644
(file)
--- a/
test/lib/session-manager.js
+++ b/
test/lib/session-manager.js
@@
-3,7
+3,7
@@
'use strict';
'use strict';
-const assert = require('assert');
+const assert = require('
node:
assert');
const sinon = require('sinon');
const SessionManager = require('../../lib/session-manager');
const sinon = require('sinon');
const SessionManager = require('../../lib/session-manager');
@@
-50,6
+50,8
@@
describe('SessionManager', function () {
describe('constructor', function () {
it('covers options', function () {
delete options.dingus.proxyPrefix;
describe('constructor', function () {
it('covers options', function () {
delete options.dingus.proxyPrefix;
+ delete options.authenticator.secureAuthOnly;
+ options.authenticator.sessionCookieSameSite = 'None';
manager = new SessionManager(stubLogger, stubAuthenticator, options);
});
}); // constructor
manager = new SessionManager(stubLogger, stubAuthenticator, options);
});
}); // constructor