mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-08-05 13:18:35 +08:00
🐛 Fix(custom): fix an issue eslint not worked as expected
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user