fix some tests.
Этот коммит содержится в:
@@ -51,7 +51,7 @@ jest.mock('components/payment_form/card_input', () => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
jest.mock('components/self_hosted_purchase_modal/stripe_provider', () => {
|
jest.mock('components/self_hosted_purchases/stripe_provider', () => {
|
||||||
return function(props: {children: React.ReactNode | React.ReactNodeArray}) {
|
return function(props: {children: React.ReactNode | React.ReactNodeArray}) {
|
||||||
return props.children;
|
return props.children;
|
||||||
};
|
};
|
||||||
@@ -164,6 +164,7 @@ const initialState: DeepPartial<GlobalState> = {
|
|||||||
},
|
},
|
||||||
license: {
|
license: {
|
||||||
Sku: productName,
|
Sku: productName,
|
||||||
|
SkuName: productName,
|
||||||
Users: '50',
|
Users: '50',
|
||||||
ExpiresAt: licenseExpiry.valueOf().toString(),
|
ExpiresAt: licenseExpiry.valueOf().toString(),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ jest.mock('components/payment_form/card_input', () => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
jest.mock('components/self_hosted_purchase_modal/stripe_provider', () => {
|
jest.mock('components/self_hosted_purchases/stripe_provider', () => {
|
||||||
return function(props: {children: React.ReactNode | React.ReactNodeArray}) {
|
return function(props: {children: React.ReactNode | React.ReactNodeArray}) {
|
||||||
return props.children;
|
return props.children;
|
||||||
};
|
};
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user