@getjones/test-infra 4.5.1 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getjones/test-infra",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "description": "Providing internal and openapi interface",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -215,11 +215,11 @@ const policiesCoverageConfig = { //rename - coverage policies config
215
215
 
216
216
  const getAllAvailablePolicies = () => Object.keys(policiesCoverageConfig); //getting all available policy names! change the naming ["General Liability", "Automobile Liability", "Excess Liability", "Umbrella", "Workers’ Compensation", "Fidelity / Crime", "Cyber Liability", ]
217
217
 
218
- // const getRequiredPoliciesMinimumForAutocomplete = () => {
219
- // const policies = getAllAvailablePolicies();
220
- // policies.length = 2;
221
- // return policies;
222
- // };
218
+ const getRequiredPoliciesMinimumForAutocomplete = () => { //is being used in automation!
219
+ const policies = getAllAvailablePolicies();
220
+ policies.length = 2;
221
+ return policies;
222
+ };
223
223
 
224
224
  const getMinimumPoliciesCoverageForAutocomplete = () => { //new that takes getRequiredPoliciesMinimumForAutocomplete and return the entire coverage policy config
225
225
  const policiesNames = getAllAvailablePolicies();
@@ -230,7 +230,7 @@ const getMinimumPoliciesCoverageForAutocomplete = () => { //new that takes getRe
230
230
 
231
231
  module.exports = {
232
232
  getAllAvailablePolicies,
233
- // getRequiredPoliciesMinimumForAutocomplete,
233
+ getRequiredPoliciesMinimumForAutocomplete,
234
234
  getMinimumPoliciesCoverageForAutocomplete,
235
235
  policiesCoverageConfig
236
236
  };
Binary file