diff --git a/test/pull_request/action.test.ts b/test/pull_request/action.test.ts index 773623f..255ccfc 100644 --- a/test/pull_request/action.test.ts +++ b/test/pull_request/action.test.ts @@ -1,10 +1,8 @@ import { context } from '@actions/github' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { afterEach, describe, expect, it, vi } from 'vitest' import { generatorLogStart } from '../../src/generator' describe('pull_request-payload', () => { - beforeEach(() => { - }) afterEach(() => { vi.restoreAllMocks() }) diff --git a/test/pull_request/repo.test.ts b/test/pull_request/repo.test.ts index 961a9b8..0be68c8 100644 --- a/test/pull_request/repo.test.ts +++ b/test/pull_request/repo.test.ts @@ -1,13 +1,6 @@ import { context } from '@actions/github' import { afterEach, describe, expect, it, vi } from 'vitest' -// vi.mock('@actions/github', () => ({ -// context: { -// action: 'opened', -// repo: vi.fn(), -// }, -// })) - describe('pull_request', () => { afterEach(() => { vi.restoreAllMocks()