Skip to content

Commit c68c869

Browse files
committed
Add test for checking existence of .gitignore
1 parent 6d92242 commit c68c869

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/create-mcp-ts/src/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe("create-mcp-ts", () => {
2424
expect(fs.existsSync(path.join(testProjectDir, "package.json"))).toBe(true);
2525
expect(fs.existsSync(path.join(testProjectDir, "src"))).toBe(true);
2626
expect(fs.existsSync(path.join(testProjectDir, ".git"))).toBe(true);
27+
expect(fs.existsSync(path.join(testProjectDir, ".gitignore"))).toBe(true);
2728

2829
// Verify package.json content
2930
const packageJson = JSON.parse(

0 commit comments

Comments
 (0)