Skip to content

Commit

Permalink
fix: undefined into resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
drwatsno committed Jun 10, 2021
1 parent 0f92638 commit e68a642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/cache.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ describe("Cache", () => {

if (redis.status === "ready") {
redis.flushall();
return resolve();
return resolve(undefined);
}

redis.on("ready", () => {
resolve();
resolve(undefined);
redis.flushall();
});
})
Expand Down

0 comments on commit e68a642

Please sign in to comment.