Skip to content

Commit

Permalink
fix: update example to include redis-commands peer dep
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored Apr 19, 2021
1 parent 6ffa40e commit a668afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ioredis is a peer dependency so we must include it for the RunKit example to work
// declare peer dependencies so RunKit don't throw errors
require('ioredis/package.json');
require('redis-commands/package.json');

var RedisMock = require('ioredis-mock');
var redis = new RedisMock({
Expand Down

0 comments on commit a668afb

Please sign in to comment.