iu-global-access-initiative
Advanced tools
Comparing version 1.0.0 to 1.0.1-1
{ | ||
"name": "iu-global-access-initiative", | ||
"version": "1.0.0", | ||
"version": "1.0.1-1", | ||
"description": "Holds logic to determine contextual presentation information given user country and some other conditions (i.e. study delivery method) for International University (IU) partnership", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,5 +7,5 @@ "use strict"; | ||
return ((_a = criteria.educationLevel) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === "master" | ||
|| ((_b = criteria.educationLevel) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase()) === "bachelors"; | ||
|| ((_b = criteria.educationLevel) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase()) === "bachelor"; | ||
} | ||
} | ||
exports.default = new EducationLevelPolicy(); |
@@ -38,3 +38,3 @@ "use strict"; | ||
countryId: "SomeCountryId", | ||
educationLevel: "bachelors" | ||
educationLevel: "bachelor" | ||
}; | ||
@@ -48,3 +48,3 @@ const result = testInstance.meets(criteria); | ||
countryId: "SomeCountryId", | ||
educationLevel: "baCHelors" | ||
educationLevel: "baCHelor" | ||
}; | ||
@@ -51,0 +51,0 @@ const result = testInstance.meets(criteria); |
@@ -85,3 +85,3 @@ "use strict"; | ||
deliveryMethod: "online", | ||
educationLevel: "bachelors" | ||
educationLevel: "bachelor" | ||
}; | ||
@@ -98,3 +98,3 @@ const result = testInstance.getDiscountPercentage(criteria); | ||
deliveryMethod: "online", | ||
educationLevel: "bachelors" | ||
educationLevel: "bachelor" | ||
}; | ||
@@ -135,3 +135,3 @@ const result = testInstance.getDiscountPercentage(criteria); | ||
deliveryMethod: "online", | ||
educationLevel: "bachelors" | ||
educationLevel: "bachelor" | ||
}; | ||
@@ -148,3 +148,3 @@ const result = testInstance.getDiscountPercentage(criteria); | ||
deliveryMethod: "blended", | ||
educationLevel: "bachelors" | ||
educationLevel: "bachelor" | ||
}; | ||
@@ -151,0 +151,0 @@ const result = testInstance.getDiscountPercentage(criteria); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68027
2