Removing  isvinoptional for ford 2018 or above
This commit is contained in:
Sneha 2023-08-03 11:37:14 +05:30
parent eef8fa82c7
commit dd3bebd9a6
2 changed files with 0 additions and 8 deletions

View file

@ -2012,12 +2012,6 @@ export const actions = {
return true;
default:
}
if (
context.state.order.vehicle.make.toLowerCase() === "ford" &&
context.state.order.vehicle.year >= 2018
) {
return true;
}
if (
context.state.order.vehicle.make.toLowerCase() === "bmw" &&
context.state.order.vehicle.year <= 2017

View file

@ -3238,8 +3238,6 @@ describe("Getters", () => {
describe("isVinOptionalVehicle", () => {
const testVehicles = [
["2017", "acura", false],
["2017", "ford", false],
["2018", "ford", true],
["2018", "bmw", false],
["2017", "bmw", true],
["2016", "bmw", true],