mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-17 04:33:45 +00:00
修复: 对齐 GitNexus#1021 的 Prettier 格式
This commit is contained in:
parent
426f8578f2
commit
129e5f9952
1 changed files with 8 additions and 6 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue