Skip to content

Commit

Permalink
chore: remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Dec 3, 2024
1 parent ddeccab commit 0c084a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
4 changes: 1 addition & 3 deletions test/pull_request/action.test.ts
Original file line number Diff line number Diff line change
@@ -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()
})
Expand Down
7 changes: 0 additions & 7 deletions test/pull_request/repo.test.ts
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit 0c084a5

Please sign in to comment.