Fix scaling reserved RAM feature flag naming

This commit is contained in:
Henry Mercer 2023-07-18 13:12:12 +01:00
parent da4e0a06c0
commit 27d3b2f857
12 changed files with 36 additions and 12 deletions

View file

@ -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[]