Skip to content

Commit f351201

Browse files
committed
Prefix unused test parameters with underscore
1 parent cbfc524 commit f351201

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/__tests__/services/book-service.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe('BookService', () => {
126126
} as any);
127127

128128
// Mock checkIfTagged
129-
mockExecFile.mockImplementation((cmd: any, args: any, callback: any) => {
129+
mockExecFile.mockImplementation((_cmd: any, _args: any, callback: any) => {
130130
callback(null, {
131131
stdout: JSON.stringify({
132132
format: { tags: { album: 'Test', artist: 'Author' } },
@@ -152,7 +152,7 @@ describe('BookService', () => {
152152
mtime: new Date('2024-01-01'),
153153
} as any);
154154

155-
mockExecFile.mockImplementation((cmd: any, args: any, callback: any) => {
155+
mockExecFile.mockImplementation((_cmd: any, _args: any, callback: any) => {
156156
callback(null, { stdout: JSON.stringify({ format: {} }) });
157157
return {} as any;
158158
});
@@ -172,7 +172,7 @@ describe('BookService', () => {
172172
mtime: new Date('2024-01-01'),
173173
} as any);
174174

175-
mockExecFile.mockImplementation((cmd: any, args: any, callback: any) => {
175+
mockExecFile.mockImplementation((_cmd: any, _args: any, callback: any) => {
176176
callback(null, { stdout: JSON.stringify({ format: {} }) });
177177
return {} as any;
178178
});

0 commit comments

Comments
 (0)