diff --git a/src/user/library/index.test.ts b/src/user/library/index.test.ts index 213416e7..548fc1ad 100644 --- a/src/user/library/index.test.ts +++ b/src/user/library/index.test.ts @@ -125,7 +125,7 @@ describe("pricing logic (read)", () => { it("should convert per-impression values to CPM when populating CampaignForm", () => { const campaign = produce(BASE_CPM_CAMPAIGN_FRAGMENT, (c) => { - (c.adSets ?? []).forEach((adset) => { + c.adSets.forEach((adset) => { adset.billingType = "cpm"; adset.price = "0.007"; });