Fix scaling reserved RAM feature flag naming
This commit is contained in:
parent
da4e0a06c0
commit
27d3b2f857
12 changed files with 36 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue