mirror of
https://github.com/github/codeql-action.git
synced 2026-04-24 07:48:47 +00:00
Fix scaling reserved RAM feature flag naming
This commit is contained in:
@@ -482,6 +482,15 @@ test("ignores invalid version numbers in default version feature flags", async (
|
||||
});
|
||||
});
|
||||
|
||||
test("feature flags should end with _enabled", async (t) => {
|
||||
for (const feature of Object.values(Feature)) {
|
||||
t.assert(
|
||||
feature.endsWith("_enabled"),
|
||||
`${feature} should end with '_enabled'`
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
function assertAllFeaturesUndefinedInApi(
|
||||
t: ExecutionContext<unknown>,
|
||||
loggedMessages: LoggedMessage[]
|
||||
|
||||
Reference in New Issue
Block a user