🐛 Fix(custom): fix an issue eslint not worked as expected

This commit is contained in:
Kuingsmile
2025-12-30 13:20:28 +08:00
parent 4fb5a26270
commit b53eccce13
185 changed files with 8014 additions and 7627 deletions

View File

@@ -6,10 +6,10 @@ import { beforeEach, describe, expect, it, vi } from 'vitest'
import { AESHelper } from '../src/main/utils/aesHelper'
vi.mock('@core/picgo', () => ({
default: { getConfig: vi.fn(() => undefined) }
default: { getConfig: vi.fn(() => undefined) },
}))
vi.mock('~/utils/configPaths', () => ({
configPaths: { settings: { aesPassword: 'settings.aesPassword' } }
configPaths: { settings: { aesPassword: 'settings.aesPassword' } },
}))
const HEX_RE = /^[0-9a-f]+$/i