diff --git a/src/main.test.ts b/src/main.test.ts index ee304b2..6587973 100644 --- a/src/main.test.ts +++ b/src/main.test.ts @@ -1,6 +1,5 @@ import { describe, it, beforeEach, expect, vi } from 'vitest' -import { main, updateDescription } from './main' -import type { Octokit } from './types' +import { updateDescription } from './main' beforeEach(() => { vi.unstubAllEnvs() @@ -53,46 +52,3 @@ describe('updateDescription', () => { expect(actual).toEqual(expected) }) }) - -describe('main', () => { - it('should work', async () => { - await main({ - octokit: {} as unknown as Octokit, - currentPullRequest: { - number: 361, - head: { - ref: 'test-branch', - }, - base: { - ref: 'document-setup', - }, - state: 'open', - }, - pullRequests: [ - // { - // number: 360, - // head: { - // ref: 'document-setup', - // }, - // base: { - // ref: 'main', - // }, - // state: 'open', - // }, - { - number: 361, - head: { - ref: 'test-branch', - }, - base: { - ref: 'document-setup', - }, - state: 'open', - }, - ], - mainBranch: 'main', - perennialBranches: [], - skipSingleStacks: false, - }) - }) -})