Skip to content

Commit a26052f

Browse files
fix(test): drop unused arrow-fn params to satisfy no-unused-vars lint
1 parent fb82bf1 commit a26052f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/auth/tests/auth.integration.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ describe('Auth integration tests:', () => {
552552
test('should set tokenCookieOptions and redirect on classic web oAuth success', async () => {
553553
const mockUserId = 'mock-oauth-user-id-123';
554554
const authenticateSpy = jest.spyOn(passport, 'authenticate').mockImplementationOnce(
555-
(strategy, callback) => (req, res, next) => callback(null, { id: mockUserId }),
555+
(strategy, callback) => () => callback(null, { id: mockUserId }),
556556
);
557557
const cookies = {};
558558
const redirectCalls = [];

0 commit comments

Comments
 (0)