Skip to content

Commit c6cdde1

Browse files
committed
fix(test): make analyze repo name assertion portable
1 parent 52955ad commit c6cdde1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cli/analyze-command.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test("analyze subcommand runs static analysis via the explicit command surface",
2424
fileContents: Record<string, string>;
2525
};
2626

27-
assert.equal(parsed.repoName, "opencodewiki");
27+
assert.equal(parsed.repoName, path.basename(process.cwd()));
2828
assert.ok(parsed.files.length > 0);
2929
assert.ok(Array.isArray(parsed.edges));
3030
assert.equal(typeof parsed.fileContents, "object");

0 commit comments

Comments
 (0)