Merge pull request #29795 from overleaf/ar-last-infrastructure-conversions

[web] last infrastructure conversions

GitOrigin-RevId: 68aa11625a9bc6d0d5324ecd95bb5ac52af8ee96
This commit is contained in:
Andrew Rumble
2025-11-27 09:05:30 +00:00
committed by Copybot
parent b63ce40914
commit d748d8d606
279 changed files with 969 additions and 927 deletions
@@ -1,12 +1,12 @@
import { expect } from 'vitest'
import mongodb from 'mongodb-legacy'
import CooldownManager from '../../../../app/src/Features/Cooldown/CooldownManager.mjs'
import { cleanupTestRedis } from '../../../../app/src/infrastructure/RedisWrapper.js'
import RedisWrapper from '../../../../app/src/infrastructure/RedisWrapper.mjs'
const { ObjectId } = mongodb
describe('CooldownManager', function () {
beforeEach(cleanupTestRedis)
beforeEach(RedisWrapper.cleanupTestRedis)
beforeEach(function (ctx) {
ctx.project1Id = new ObjectId().toString()