mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 14:49:01 +02:00
53dd89a826
Move acceptance test mocks to nonstandard ports and add options for running locally GitOrigin-RevId: bd8f70ac8d80599daccc51cfe7b90a2ad8d8c3d8
11 lines
256 B
JavaScript
11 lines
256 B
JavaScript
const RedisWrapper = require('../../../../app/src/infrastructure/RedisWrapper')
|
|
const client = RedisWrapper.client('ratelimiter')
|
|
|
|
module.exports = {
|
|
initialize() {
|
|
beforeEach('clear redis', function (done) {
|
|
client.flushdb(done)
|
|
})
|
|
},
|
|
}
|