Skip to content

Commit ab82675

Browse files
committed
Add test to check hasActionsWorkflows doesn't throw
1 parent aeaa720 commit ab82675

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/config-utils.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,3 +1755,9 @@ for (const language in KnownLanguage) {
17551755
},
17561756
);
17571757
}
1758+
1759+
test("hasActionsWorkflows doesn't throw if workflows folder doesn't exist", async (t) => {
1760+
return withTmpDir(async (tmpDir) => {
1761+
t.notThrows(() => configUtils.hasActionsWorkflows(tmpDir));
1762+
});
1763+
});

0 commit comments

Comments
 (0)