Skip to content

Commit

Permalink
add globstar tes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTugarev committed Sep 20, 2023
1 parent e58cb8e commit 149f243
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions components/server/src/prebuilds/prebuild-manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,22 @@ describe("PrebuildManager", () => {
}),
),
},
{
title: "selected-branches/matched/globstar",
shouldRun: true,
reason: "branch-matched",
config,
context: clone(context, (c) => (c.ref = "anything")),
project: clone(
project,
(p) =>
(p.settings = {
enablePrebuilds: true,
prebuildDefaultBranchOnly: false,
prebuildBranchPattern: "**",
}),
),
},
];

for (const { title, config, context, project, shouldRun, reason } of checkPrebuildPreconditionCases) {
Expand Down

0 comments on commit 149f243

Please sign in to comment.