Skip to content

Commit

Permalink
add test [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
gabotechs committed Feb 10, 2024
1 parent 7a83620 commit 246c3b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/config/.config_test/.top-level-entrypoints.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
entrypoints:
- foo.ts
5 changes: 5 additions & 0 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ func TestConfig_ErrorHandling(t *testing.T) {
File: filepath.Join(testFolder, ".invalid.yml"),
Expected: "not a valid yml file",
},
{
Name: "Entrypoints on top level",
File: filepath.Join(testFolder, ".top-level-entrypoints.yml"),
Expected: "not a valid yml file",
},
}

for _, tt := range tests {
Expand Down

0 comments on commit 246c3b2

Please sign in to comment.