MCPcopy Index your code
hub / github.com/simstudioai/sim / mockExistingJob

Function mockExistingJob

apps/sim/lib/workflows/schedules/orchestration.test.ts:76–84  ·  view source on GitHub ↗
(job: typeof BASE_JOB)

Source from the content-addressed store, hash-verified

74}
75
76function mockExistingJob(job: typeof BASE_JOB) {
77 mockSelect.mockReturnValue({
78 from: vi.fn().mockReturnValue({
79 where: vi.fn().mockReturnValue({
80 limit: vi.fn().mockReturnValue([job]),
81 }),
82 }),
83 })
84}
85
86describe('performUpdateJob', () => {
87 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected