prettier
This commit is contained in:
parent
0196573325
commit
215d906c6e
4 changed files with 10 additions and 41 deletions
|
|
@ -242,8 +242,7 @@ describe("promotions-helper.js", () => {
|
|||
},
|
||||
{
|
||||
partNumber:
|
||||
promotionsHelper.promoPartNumberStrings
|
||||
.RAIN_REPEL_DISCOUNT_PART_NUMBER,
|
||||
promotionsHelper.promoPartNumberStrings.RAIN_REPEL_DISCOUNT_PART_NUMBER,
|
||||
},
|
||||
{
|
||||
partNumber:
|
||||
|
|
|
|||
|
|
@ -777,11 +777,7 @@ describe("service-package-helper.js", () => {
|
|||
rainRepelLineItem,
|
||||
];
|
||||
const isRepair = false;
|
||||
const vaps = [
|
||||
driverFrontWiperLineItem,
|
||||
passengerFrontWiperLineItem,
|
||||
rainRepelLineItem,
|
||||
];
|
||||
const vaps = [driverFrontWiperLineItem, passengerFrontWiperLineItem, rainRepelLineItem];
|
||||
|
||||
// Act
|
||||
const result = servicePackageHelper.getHighestRequiredTier(
|
||||
|
|
|
|||
|
|
@ -108,10 +108,7 @@ const figmaScenarios = [
|
|||
},
|
||||
{
|
||||
name: "Premium",
|
||||
vapsCombo: [
|
||||
testConstants.parts.rainRepelPart,
|
||||
testConstants.parts.frontWiperPart,
|
||||
],
|
||||
vapsCombo: [testConstants.parts.rainRepelPart, testConstants.parts.frontWiperPart],
|
||||
expected: {
|
||||
packageNameWidget: testConstants.widgetNames.tierThreeTitle,
|
||||
displayContent: [
|
||||
|
|
@ -170,10 +167,7 @@ const figmaScenarios = [
|
|||
},
|
||||
{
|
||||
name: "Premium",
|
||||
vapsCombo: [
|
||||
testConstants.parts.rainRepelPart,
|
||||
testConstants.parts.frontWiperPart,
|
||||
],
|
||||
vapsCombo: [testConstants.parts.rainRepelPart, testConstants.parts.frontWiperPart],
|
||||
expected: {
|
||||
packageNameWidget: testConstants.widgetNames.tierThreeTitle,
|
||||
displayContent: [
|
||||
|
|
@ -231,10 +225,7 @@ const figmaScenarios = [
|
|||
},
|
||||
{
|
||||
name: "Premium",
|
||||
vapsCombo: [
|
||||
testConstants.parts.rainRepelPart,
|
||||
testConstants.parts.frontWiperPart,
|
||||
],
|
||||
vapsCombo: [testConstants.parts.rainRepelPart, testConstants.parts.frontWiperPart],
|
||||
expected: {
|
||||
packageNameWidget: testConstants.widgetNames.tierThreeTitle,
|
||||
displayContent: [
|
||||
|
|
@ -387,10 +378,7 @@ const figmaScenarios = [
|
|||
},
|
||||
{
|
||||
name: "Economy+Frontwiper+RainRepel",
|
||||
vapsCombo: [
|
||||
testConstants.parts.frontWiperPart,
|
||||
testConstants.parts.rainRepelPart,
|
||||
],
|
||||
vapsCombo: [testConstants.parts.frontWiperPart, testConstants.parts.rainRepelPart],
|
||||
expected: {
|
||||
packageNameWidget: testConstants.widgetNames.tierOneTitle,
|
||||
displayContent: [
|
||||
|
|
@ -538,10 +526,7 @@ const figmaScenarios = [
|
|||
},
|
||||
{
|
||||
name: "Premium",
|
||||
vapsCombo: [
|
||||
testConstants.parts.rainRepelPart,
|
||||
testConstants.parts.frontWiperPart,
|
||||
],
|
||||
vapsCombo: [testConstants.parts.rainRepelPart, testConstants.parts.frontWiperPart],
|
||||
expected: {
|
||||
packageNameWidget: testConstants.widgetNames.tierThreeTitle,
|
||||
displayContent: [
|
||||
|
|
@ -622,10 +607,7 @@ const figmaScenarios = [
|
|||
},
|
||||
{
|
||||
name: "Premium",
|
||||
vapsCombo: [
|
||||
testConstants.parts.rainRepelPart,
|
||||
testConstants.parts.frontWiperPart,
|
||||
],
|
||||
vapsCombo: [testConstants.parts.rainRepelPart, testConstants.parts.frontWiperPart],
|
||||
expected: {
|
||||
packageNameWidget: testConstants.widgetNames.tierThreeTitle,
|
||||
displayContent: [
|
||||
|
|
|
|||
|
|
@ -404,11 +404,7 @@ describe("payment.vue", () => {
|
|||
test("Properly formatted output", () => {
|
||||
// Arrange
|
||||
const wrapper = setupMocks({});
|
||||
const cartItems = [
|
||||
taxedParts.windshield,
|
||||
taxedParts.frontWipers,
|
||||
taxedParts.rainRepel,
|
||||
];
|
||||
const cartItems = [taxedParts.windshield, taxedParts.frontWipers, taxedParts.rainRepel];
|
||||
|
||||
// Act
|
||||
wrapper.vm.getPiaLineItems(cartItems);
|
||||
|
|
@ -444,11 +440,7 @@ describe("payment.vue", () => {
|
|||
];
|
||||
|
||||
const wrapper = setupMocks({});
|
||||
const cartItems = [
|
||||
taxedParts.windshield,
|
||||
taxedParts.frontWipers,
|
||||
taxedParts.rainRepel,
|
||||
];
|
||||
const cartItems = [taxedParts.windshield, taxedParts.frontWipers, taxedParts.rainRepel];
|
||||
|
||||
// Act
|
||||
wrapper.vm.getPiaLineItems(cartItems);
|
||||
|
|
|
|||
Loading…
Reference in a new issue