Merge pull request #2652 from Safelite/feature/CASH-1179

CASH-1179 - Updating Vin only for Audi going back to 2010
This commit is contained in:
mvalaiyapathi 2025-07-15 15:08:50 -04:00 committed by GitHub
commit 3b8394ccaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -3310,6 +3310,8 @@ export const actions = {
(context.state.order.vehicle.make.toLowerCase() === "bmw" &&
context.state.order.vehicle.year < 2010) ||
(context.state.order.vehicle.make.toLowerCase() === "volkswagen" &&
context.state.order.vehicle.year < 2010) ||
(context.state.order.vehicle.make.toLowerCase() === "audi" &&
context.state.order.vehicle.year < 2010)
)
return true;

View file

@ -4248,6 +4248,7 @@ describe("isVinOptionalVehicle", () => {
["2016", "volkswagen", false],
["2016", "audi", false],
["2016", "porsche", true],
["2009", "audi", true],
];
test.each(testVehicles)(
"%s %s should skip vin lookup is %s",