feat(call): add streaming voice call experience
Docker Image / Build and Push Docker Image (push) Successful in 2m3s
Docker Image / Build and Push Docker Image (push) Successful in 2m3s
This commit is contained in:
@@ -134,11 +134,26 @@ describe("User", () => {
|
||||
photo: 40,
|
||||
},
|
||||
},
|
||||
voiceCallBilling: {
|
||||
enabled: true,
|
||||
protocolVersion: 2,
|
||||
chargeMode: "per_turn",
|
||||
sharesNormalChatFreeDaily: true,
|
||||
freeTurnsDaily: 30,
|
||||
costPerPaidTurn: 2,
|
||||
usageType: "voice_call_turn",
|
||||
legacyMinuteCostUsed: false,
|
||||
},
|
||||
});
|
||||
|
||||
expect(entitlements.isVip).toBe(true);
|
||||
expect(entitlements.creditBalance).toBe(120);
|
||||
expect(entitlements.historyUnlock.costs.photo).toBe(40);
|
||||
expect(entitlements.voiceCallBilling).toMatchObject({
|
||||
protocolVersion: 2,
|
||||
chargeMode: "per_turn",
|
||||
costPerPaidTurn: 2,
|
||||
});
|
||||
});
|
||||
|
||||
it("defaults nullable entitlement sections through schema helpers", () => {
|
||||
|
||||
Reference in New Issue
Block a user