Skip to content
Prev Previous commit
fix: prefix unused test params with underscore to satisfy eslint
  • Loading branch information
marshallswain committed Jan 31, 2026
commit be6dde7885c39217800306ea168e08238aa1823c
6 changes: 3 additions & 3 deletions packages/feathers/src/hooks/decorator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('feathers/hooks chainable decorator', () => {
.params('id', 'params')
.props({ service: 'messages' })
.defaults(() => ({ timestamp: 99999 })))
async status(id: string, params: any) {
async status(id: string, _params: any) {
return { id, status: 'active' }
}
}
Expand Down Expand Up @@ -246,7 +246,7 @@ describe('hookMixin respects @hooks().params()', () => {
await next()
}
])
async create(data: any, params?: any) {
async create(data: any, _params?: any) {
return data
}
}
Expand Down Expand Up @@ -328,7 +328,7 @@ describe('hookMixin respects @hooks().params()', () => {
.params('id', 'options')
.props({ serviceName: 'status' })
.defaults(() => ({ timestamp: 99999 })))
async check(id: string, options?: any) {
async check(id: string, _options?: any) {
return { id, status: 'ok' }
}
}
Expand Down
Loading