2024-12-05 11:31:00 +03:00
|
|
|
# Snapshot report for `tests/payment/service.spec.ts`
|
|
|
|
|
|
|
|
The actual snapshot is saved in `service.spec.ts.snap`.
|
|
|
|
|
|
|
|
Generated by [AVA](https://avajs.dev).
|
|
|
|
|
|
|
|
## should list normal price for unauthenticated user
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
|
|
|
'pro_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'pro_lifetime',
|
2024-12-05 11:31:00 +03:00
|
|
|
'ai_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
2024-12-05 11:31:00 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
## should list normal prices for authenticated user
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
|
|
|
'pro_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'pro_lifetime',
|
2024-12-05 11:31:00 +03:00
|
|
|
'ai_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
|
|
|
]
|
|
|
|
|
|
|
|
## should not show lifetime price if not enabled
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
|
|
|
'pro_yearly',
|
|
|
|
'ai_yearly',
|
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
2024-12-05 11:31:00 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
## should list early access prices for pro ea user
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'pro_lifetime',
|
2024-12-05 11:31:00 +03:00
|
|
|
'pro_yearly_earlyaccess',
|
|
|
|
'ai_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
2024-12-05 11:31:00 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
## should list normal prices for pro ea user with old subscriptions
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
|
|
|
'pro_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'pro_lifetime',
|
2024-12-05 11:31:00 +03:00
|
|
|
'ai_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
2024-12-05 11:31:00 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
## should list early access prices for ai ea user
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
|
|
|
'pro_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'pro_lifetime',
|
2024-12-05 11:31:00 +03:00
|
|
|
'ai_yearly_earlyaccess',
|
2024-12-05 11:31:01 +03:00
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
2024-12-05 11:31:00 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
## should list early access prices for pro and ai ea user
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'pro_lifetime',
|
2024-12-05 11:31:00 +03:00
|
|
|
'pro_yearly_earlyaccess',
|
|
|
|
'ai_yearly_earlyaccess',
|
2024-12-05 11:31:01 +03:00
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
2024-12-05 11:31:00 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
## should list normal prices for ai ea user with old subscriptions
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
|
|
|
'pro_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'pro_lifetime',
|
|
|
|
'ai_yearly',
|
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
|
|
|
]
|
|
|
|
|
|
|
|
## should be able to list prices for team
|
|
|
|
|
|
|
|
> Snapshot 1
|
|
|
|
|
|
|
|
[
|
|
|
|
'pro_monthly',
|
|
|
|
'pro_yearly',
|
|
|
|
'pro_lifetime',
|
2024-12-05 11:31:00 +03:00
|
|
|
'ai_yearly',
|
2024-12-05 11:31:01 +03:00
|
|
|
'team_monthly',
|
|
|
|
'team_yearly',
|
2024-12-05 11:31:00 +03:00
|
|
|
]
|