Skip to content

🎥 Make videos programmatically with React

Update price-calculation.test.ts

Jonny Burgerc93b24fc6f32
diff --git a/packages/lambda/src/test/unit/price-calculation.test.ts b/packages/lambda/src/test/unit/price-calculation.test.ts
index 0289b01267..beb5d8b03e 100644
--- a/packages/lambda/src/test/unit/price-calculation.test.ts
+++ b/packages/lambda/src/test/unit/price-calculation.test.ts
@@ -62,5 +62,5 @@ test('Should not throw while calculating prices when time shifts occur', () => {
diskSizeInMb: 512,
lambdasInvoked: 1,
});
- expect(price).toBeGreaterThanOrEqual(0);
+ expect(price?.accruedSoFar).toBeGreaterThanOrEqual(0);
});