mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-17 00:02:59 +00:00
chore: keep the MCP secret variable test's formatting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ad8bc5d4df
commit
46f1ed15c8
@@ -1,20 +1,14 @@
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const {
|
||||
existsVariable,
|
||||
getVariable,
|
||||
createVariable,
|
||||
updateVariable,
|
||||
deleteVariable,
|
||||
existsResource
|
||||
} = vi.hoisted(() => ({
|
||||
existsVariable: vi.fn(),
|
||||
getVariable: vi.fn(),
|
||||
createVariable: vi.fn(),
|
||||
updateVariable: vi.fn(),
|
||||
deleteVariable: vi.fn(),
|
||||
existsResource: vi.fn()
|
||||
}))
|
||||
const { existsVariable, getVariable, createVariable, updateVariable, deleteVariable, existsResource } =
|
||||
vi.hoisted(() => ({
|
||||
existsVariable: vi.fn(),
|
||||
getVariable: vi.fn(),
|
||||
createVariable: vi.fn(),
|
||||
updateVariable: vi.fn(),
|
||||
deleteVariable: vi.fn(),
|
||||
existsResource: vi.fn()
|
||||
}))
|
||||
|
||||
vi.mock('$lib/gen', () => ({
|
||||
VariableService: { existsVariable, getVariable, createVariable, updateVariable, deleteVariable },
|
||||
|
||||
Reference in New Issue
Block a user