From 06f0ee4c918aa5b09737c72dc193f5e13d149690 Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Wed, 26 Feb 2025 09:19:36 -0600 Subject: [PATCH] Merge pull request #23690 from overleaf/jel-test [web] Remove test skip GitOrigin-RevId: bd5a35bcb62227a7bc282bb0813ac0482b04ada2 --- services/web/test/unit/src/User/UserGetterTests.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/services/web/test/unit/src/User/UserGetterTests.js b/services/web/test/unit/src/User/UserGetterTests.js index 67fe233def..91df5d8c6d 100644 --- a/services/web/test/unit/src/User/UserGetterTests.js +++ b/services/web/test/unit/src/User/UserGetterTests.js @@ -382,8 +382,7 @@ describe('UserGetter', function () { } ) }) - // eslint-disable-next-line mocha/no-skipped-tests - it.skip('should not flag affiliations outside of notification period', function (done) { + it('should not flag affiliations outside of notification period', function (done) { const { maxConfirmationMonths } = institutionNonSSO const confirmed1 = new Date() const lastDayToReconfirm1 = moment(confirmed1) @@ -391,8 +390,8 @@ describe('UserGetter', function () { .toDate() const confirmed2 = moment() .subtract(maxConfirmationMonths, 'months') - .add(15, 'days') - .toDate() // expires in 15 days + .add(30, 'days') + .toDate() // expires in 30 days and reconfirmNotificationDays is set to 14 const lastDayToReconfirm2 = moment(confirmed2) .add(maxConfirmationMonths, 'months') .toDate()