@shelf/jest-redis
v0.0.2
Published
Run your tests using Jest & Redis local
Maintainers
Keywords
Readme
Jest-redis
Jest preset to run Redis Local
Install
$ yarn add @shelf/jest-redis --devUsage
- Create jest config
module.exports = {
preset: '@shelf/jest-redis',
};- Optional: create
jest-redis-config.cjs
module.exports = {
redisMemoryServerOptions: {
instance: {
port: 6379,
},
},
};Publish
$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master --tagsLicense
MIT © Shelf
