修复: 对齐 GitNexus#1021 的 Prettier 格式

This commit is contained in:
gujishh 2026-04-23 15:18:04 +09:00
parent 426f8578f2
commit 129e5f9952

View file

@ -153,12 +153,14 @@ describe('sequential native parser availability', () => {
it('skips Swift files in processParsing when the native parser is unavailable', async () => {
vi.mocked(parserLoader.isLanguageAvailable).mockReturnValue(false);
await expect(processParsing(
createKnowledgeGraph(),
[{ path: 'App.swift', content: 'class AppViewController: UIViewController {}' }],
createSymbolTable(),
createASTCache(),
)).resolves.toBeNull();
await expect(
processParsing(
createKnowledgeGraph(),
[{ path: 'App.swift', content: 'class AppViewController: UIViewController {}' }],
createSymbolTable(),
createASTCache(),
),
).resolves.toBeNull();
expect(parserLoader.loadLanguage).not.toHaveBeenCalled();
});