Skip to content

Commit

Permalink
try fix crossFileContextUtil.test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-ShaoHua committed Dec 16, 2024
1 parent ad52466 commit ab3fd1b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,8 @@ describe('crossFileContextUtil', function () {
})

describe('full support', function () {
// TODO: fix it
// const fileExtLists = ['java', 'js', 'ts', 'py', 'tsx', 'jsx']
const fileExtLists = ['java']
const fileExtLists = ['java', 'js', 'ts', 'py', 'tsx', 'jsx']
// const fileExtLists = ['java']

before(async function () {
this.timeout(60000)
Expand Down Expand Up @@ -342,7 +341,7 @@ describe('crossFileContextUtil', function () {
filePath: 'q-inline',
},
])
const editor = await toTextEditor('content-1', `file-1.${fileExt}`, tempFolder)
const editor = await toTextEditor('content-1', `file-1.${fileExt}`, tempFolder, { preview: false })
await toTextEditor('content-2', `file-2.${fileExt}`, tempFolder, { preview: false })
await toTextEditor('content-3', `file-3.${fileExt}`, tempFolder, { preview: false })
await toTextEditor('content-4', `file-4.${fileExt}`, tempFolder, { preview: false })
Expand Down

0 comments on commit ab3fd1b

Please sign in to comment.