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

@ -48,7 +48,7 @@ test("getMemoryFlag() should return the correct --ram flag", async (t) => {
for (const [input, withScaling, expectedFlag] of tests) {
const features = createFeatures(
withScaling ? [Feature.ScalingReservedRam] : []
withScaling ? [Feature.ScalingReservedRamEnabled] : []
);
const flag = await util.getMemoryFlag(input, features);
t.deepEqual(flag, expectedFlag);