authenticator = new Authenticator(stubLogger, stubDb, options);
});
+ it('covers invalid sameSite', function () {
+ options.authenticator.sessionCookieSameSite = 'Sometimes';
+ assert.throws(() => new Authenticator(stubLogger, stubDb, options), RangeError);
+ });
+
describe('createIdentifier', function () {
let dbCtx;
beforeEach(function () {