Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add test to check hasActionsWorkflows doesn't throw
  • Loading branch information
mbg committed Sep 5, 2025
commit ab82675d3b221f6b51891dccf4b6e8f15a9018b3
6 changes: 6 additions & 0 deletions src/config-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1755,3 +1755,9 @@ for (const language in KnownLanguage) {
},
);
}

test("hasActionsWorkflows doesn't throw if workflows folder doesn't exist", async (t) => {
return withTmpDir(async (tmpDir) => {
t.notThrows(() => configUtils.hasActionsWorkflows(tmpDir));
});
});