mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-12 08:30:08 +00:00
[TS] Enable noUnusedParameters (#3110)
This commit is contained in:
@@ -80,7 +80,7 @@ describe('colorUtil - adjustColor', () => {
|
||||
})
|
||||
}
|
||||
|
||||
describe.each(Object.entries(colors))('%s color', (colorName, color) => {
|
||||
describe.each(Object.entries(colors))('%s color', (_colorName, color) => {
|
||||
describe.each(formats)('%s format', (format) => {
|
||||
runAdjustColorTests(color, format as ColorFormat)
|
||||
})
|
||||
|
||||
@@ -22,7 +22,7 @@ describe('useCachedRequest', () => {
|
||||
)
|
||||
|
||||
// Create a mock request function that returns different results based on params
|
||||
mockRequestFn = vi.fn(async (params: any, signal?: AbortSignal) => {
|
||||
mockRequestFn = vi.fn(async (params: any) => {
|
||||
// Simulate a request that takes some time
|
||||
await new Promise((resolve) => setTimeout(resolve, 8))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user