fix: resolve prettier and eslint conflict by removing bracketSpacing: false

This commit is contained in:
Naoki Oketani
2025-05-03 12:32:25 +00:00
parent 93b005545f
commit fa975d057b
8 changed files with 44 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
import * as issue from '../src/issue'
import {IssueOption} from '../src/interface'
import { IssueOption } from '../src/interface'
describe('getIssueOption', () => {
test('without assignee and label', () => {
@@ -77,7 +77,10 @@ describe('getExistingIssueNumber', () => {
}
]
})
const result = await issue.getExistingIssueNumber(getIssues, {repo, owner})
const result = await issue.getExistingIssueNumber(getIssues, {
repo,
owner
})
expect(getIssues).toHaveBeenCalledWith({
repo,
@@ -90,9 +93,12 @@ describe('getExistingIssueNumber', () => {
test('returns null when there is no open issue', async () => {
const getIssues = vi.fn()
getIssues.mockResolvedValue({data: []})
getIssues.mockResolvedValue({ data: [] })
const result = await issue.getExistingIssueNumber(getIssues, {repo, owner})
const result = await issue.getExistingIssueNumber(getIssues, {
repo,
owner
})
expect(getIssues).toHaveBeenCalledWith({
repo,
@@ -114,7 +120,10 @@ describe('getExistingIssueNumber', () => {
]
})
const result = await issue.getExistingIssueNumber(getIssues, {repo, owner})
const result = await issue.getExistingIssueNumber(getIssues, {
repo,
owner
})
expect(getIssues).toHaveBeenCalledWith({
repo,