Skip to content

Commit f367fbd

Browse files
committed
test(1372): initialise edges to [] for clearer assertion failures
1 parent 11e5a7d commit f367fbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/issue-1372-csharp-static-receiver.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function readEdges(dbPath: string) {
7474

7575
describe('C# static receiver call resolution (#1372)', () => {
7676
let tmpDir: string;
77-
let edges: Array<{ src: string; tgt: string; kind: string }>;
77+
let edges: Array<{ src: string; tgt: string; kind: string }> = [];
7878

7979
beforeAll(async () => {
8080
tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-1372-'));

0 commit comments

Comments
 (0)