Skip to content

Commit 6649a78

Browse files
test: test with redis@5
1 parent c2d668b commit 6649a78

5 files changed

Lines changed: 91 additions & 119 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
strategy:
1717
matrix:
1818
node-version:
19-
- 14
2019
- 20
20+
- 24
2121

2222
services:
2323
redis:

package-lock.json

Lines changed: 75 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"mocha": "^10.1.0",
3737
"nyc": "^15.1.0",
3838
"prettier": "^2.8.7",
39-
"redis": "^4.6.6",
39+
"redis": "~5.10.0",
4040
"redis-v3": "npm:redis@^3.1.2",
4141
"rimraf": "^5.0.5",
4242
"socket.io": "^4.6.1",

test/specifics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ export function testSuite(
124124
});
125125
});
126126

127-
if (redisPackage === "redis@4") {
128-
// redis@4
127+
if (redisPackage === "redis@5") {
128+
// redis@5
129129
it("ignores messages from unknown channels", (done) => {
130130
(servers[0].of("/").adapter as RedisAdapter).subClient
131131
.PSUBSCRIBE("f?o", () => {

0 commit comments

Comments
 (0)