fix(core): Fix type errors (no-changelog) (#9571)

This commit is contained in:
Danny Martini
2024-05-31 14:06:13 +02:00
committed by GitHub
parent 400c005866
commit 8da0d6e9ba
22 changed files with 30 additions and 42 deletions

View File

@@ -12,8 +12,6 @@ function setDefaultConfig() {
}
const PUBSUB_CHANNEL = 'testchannel';
const LIST_CHANNEL = 'testlist';
const STREAM_CHANNEL = 'teststream';
describe('RedisService', () => {
beforeAll(async () => {
@@ -41,7 +39,7 @@ describe('RedisService', () => {
expect(sub).toBeDefined();
const mockHandler = jest.fn();
mockHandler.mockImplementation((channel: string, message: string) => {});
mockHandler.mockImplementation((_channel: string, _message: string) => {});
sub.addMessageHandler(PUBSUB_CHANNEL, mockHandler);
await sub.subscribe(PUBSUB_CHANNEL);
await pub.publish(PUBSUB_CHANNEL, 'test');