Skip to content

Commit

Permalink
test: when creating git repos, ignore .cache/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Feb 23, 2025
1 parent c6b48c5 commit c72ec10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration-tests/MyTestDirectory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export const MyTestDirectorySchema = z.object({
name: z.literal("config"),
type: z.literal("file"),
}),
ignore: z.object({
name: z.literal("ignore"),
type: z.literal("file"),
}),
}),
}),
nvim: z.object({
Expand Down Expand Up @@ -159,6 +163,7 @@ export type MyTestDirectory = MyTestDirectoryContentsSchemaType["contents"]

export const testDirectoryFiles = z.enum([
".config/git/config",
".config/git/ignore",
".config/git",
".config/nvim/init.lua",
".config/nvim/prepare.lua",
Expand Down
1 change: 1 addition & 0 deletions integration-tests/test-environment/.config/git/ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.cache

0 comments on commit c72ec10

Please sign in to comment.