mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Added id to plan section tests to avoid key warnings
This commit is contained in:
parent
8481962df8
commit
6be29d900c
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ const setup = (overrides = {}) => {
|
|||
const mockOnPlanSelectFn = jest.fn();
|
||||
const props = {
|
||||
plans: [
|
||||
{type: 'free', price: 'Decide later', currency_symbol: '$', name: 'Free'},
|
||||
{type: 'month', price: 12, currency_symbol: '$', name: 'Monthly'},
|
||||
{type: 'year', price: 110, currency_symbol: '$', name: 'Yearly'}
|
||||
{type: 'free', price: 'Decide later', currency_symbol: '$', name: 'Free', id: 'free'},
|
||||
{type: 'month', price: 12, currency_symbol: '$', name: 'Monthly', id: 'monthly'},
|
||||
{type: 'year', price: 110, currency_symbol: '$', name: 'Yearly', id: 'yearly'}
|
||||
],
|
||||
selectedPlan: 'Monthly',
|
||||
onPlanSelect: mockOnPlanSelectFn
|
||||
|
|
Loading…
Add table
Reference in a new issue