Skip to content

Commit

Permalink
style: remove unused var rule for the mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mualig committed Jun 19, 2024
1 parent 1e1744a commit fb1b80d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/mock/kafkaConsumer.mock.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import {
ClientMetrics,
Message,
Metadata,
TopicPartitionOffset,
WatermarkOffsets,
} from 'node-rdkafka';
/* eslint @typescript-eslint/no-unused-vars: 0 */

import { ClientMetrics, Message, Metadata, TopicPartitionOffset, WatermarkOffsets } from 'node-rdkafka';
import { KafkaConsumerInterface } from '../lib/kafkaConsumerInterface';

export class KafkaConsumerMock implements KafkaConsumerInterface {
Expand Down
2 changes: 2 additions & 0 deletions src/mock/kafkaProducer.mock.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint @typescript-eslint/no-unused-vars: 0 */

import { KafkaProducerInterface } from '../lib/kafkaProducerInterface';
import { ClientMetrics, Metadata } from 'node-rdkafka';

Expand Down

0 comments on commit fb1b80d

Please sign in to comment.