mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-12 03:48:38 +00:00
test(augment): assert exact recovered symbol
This commit is contained in:
parent
4f520ea18d
commit
453d116fbc
1 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ withTestLbugDB(
|
|||
// definition. The graph-name fallback must recover the exact node.
|
||||
const result = await augment('login', handle.dbPath);
|
||||
expect(result).toContain('[GitNexus]');
|
||||
expect(result).toContain('login');
|
||||
expect(result).toMatch(/^login \(src\/auth\.ts\)$/m);
|
||||
} finally {
|
||||
spy.mockRestore();
|
||||
}
|
||||
|
|
@ -161,7 +161,7 @@ withTestLbugDB(
|
|||
// FTS-ranked files defines it. Exact-name lookup must still recover it.
|
||||
const result = await augment('login', handle.dbPath);
|
||||
expect(result).toContain('[GitNexus]');
|
||||
expect(result).toContain('login');
|
||||
expect(result).toMatch(/^login \(src\/auth\.ts\)$/m);
|
||||
} finally {
|
||||
spy.mockRestore();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue