UNPKG

jest-redis

Version:

Jest preset for Redis in-memory server

10 lines (7 loc) 179 B
const debug = require('debug')('jest-redis:teardown') module.exports = async () => { debug('teardown redis') if (global.__REDIS__) { await global.__REDIS__.stop() } }