mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 21:47:49 +08:00
9 lines
207 B
JavaScript
9 lines
207 B
JavaScript
const {createClient} = require('../../services/redis');
|
|
const cache = require('../../services/cache');
|
|
const client = createClient();
|
|
|
|
beforeEach(() => Promise.all([
|
|
client.flushdb(),
|
|
cache.init(),
|
|
]));
|