Merge pull request #29795 from overleaf/ar-last-infrastructure-conversions
[web] last infrastructure conversions GitOrigin-RevId: 68aa11625a9bc6d0d5324ecd95bb5ac52af8ee96
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user