Skip to content

Commit

Permalink
fix npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehesluke committed Aug 7, 2023
1 parent 32c8e33 commit 3584746
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FeatureHelper.describeFeature(module, {
testOpportunityCriteria: 'TestOpportunityBookableFree',
// This must also be TestOpportunityBookableFree as the entire Order must be free.
controlOpportunityCriteria: 'TestOpportunityBookableFree',
}, (configuration, orderItemCriteriaList, featureIsImplemented, logger, opportunityType, bookingFlow) => {
}, (configuration, orderItemCriteriaList, featureIsImplemented, logger) => {
const { fetchOpportunities, bookRecipe, defaultFlowStageParams, bookRecipeGetFirstStageInput, bookRecipeGetAssertOpportunityCapacityInput } = FlowStageRecipes.initialiseSimpleC1C2BookFlow(orderItemCriteriaList, logger);
const idempotentRepeatB = FlowStageRecipes.idempotentRepeatBAfterBook(orderItemCriteriaList, bookRecipe, defaultFlowStageParams, {
getFirstStageInput: bookRecipeGetFirstStageInput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FeatureHelper.describeFeature(module, {
testOpportunityCriteria: 'TestOpportunityBookableFree',
// This must also be TestOpportunityBookableFree as the entire Order must be free.
controlOpportunityCriteria: 'TestOpportunityBookableFree',
}, (configuration, orderItemCriteriaList, featureIsImplemented, logger, opportunityType, bookingFlow) => {
}, (configuration, orderItemCriteriaList, featureIsImplemented, logger) => {
const { fetchOpportunities, bookRecipe, defaultFlowStageParams, bookRecipeGetFirstStageInput, bookRecipeGetAssertOpportunityCapacityInput } = FlowStageRecipes.initialiseSimpleBookOnlyFlow(orderItemCriteriaList, logger);
const idempotentRepeatB = FlowStageRecipes.idempotentRepeatBAfterBook(orderItemCriteriaList, bookRecipe, defaultFlowStageParams, {
getFirstStageInput: bookRecipeGetFirstStageInput,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FeatureHelper.describeFeature(module, {
testOpportunityCriteria: 'TestOpportunityBookableNonFree',
controlOpportunityCriteria: 'TestOpportunityBookable',
},
(configuration, orderItemCriteriaList, featureIsImplemented, logger, opportunityType, bookingFlow) => {
(configuration, orderItemCriteriaList, featureIsImplemented, logger) => {
// Initiate Flow Stages
const { fetchOpportunities, bookRecipe, defaultFlowStageParams, bookRecipeGetFirstStageInput, bookRecipeGetAssertOpportunityCapacityInput } = FlowStageRecipes.initialiseSimpleC1C2BookFlow(orderItemCriteriaList, logger);
const idempotentRepeatB = FlowStageRecipes.idempotentRepeatBAfterBook(orderItemCriteriaList, bookRecipe, defaultFlowStageParams, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FeatureHelper.describeFeature(module, {
runOnlyIf: !IMPLEMENTED_FEATURES['business-to-consumer-tax-calculation-gross']
&& !IMPLEMENTED_FEATURES['business-to-consumer-tax-calculation-net'],
},
(configuration, orderItemCriteriaList, featureIsImplemented, logger, opportunityType, bookingFlow) => {
(configuration, orderItemCriteriaList, featureIsImplemented, logger) => {
// Initiate Flow Stages
const { fetchOpportunities, bookRecipe, defaultFlowStageParams, bookRecipeGetFirstStageInput, bookRecipeGetAssertOpportunityCapacityInput } = FlowStageRecipes.initialiseSimpleBookOnlyFlow(orderItemCriteriaList, logger);
const idempotentRepeatB = FlowStageRecipes.idempotentRepeatBAfterBook(orderItemCriteriaList, bookRecipe, defaultFlowStageParams, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FeatureHelper.describeFeature(module, {
testOpportunityCriteria: 'TestOpportunityBookableNonFreeTaxGross',
// the simple tests can only work if all OrderItems have the same tax mode
controlOpportunityCriteria: 'TestOpportunityBookableNonFreeTaxGross',
}, (configuration, orderItemCriteriaList, featureIsImplemented, logger, opportunityType, bookingFlow) => {
}, (configuration, orderItemCriteriaList, featureIsImplemented, logger) => {
const { fetchOpportunities, bookRecipe, defaultFlowStageParams, bookRecipeGetFirstStageInput, bookRecipeGetAssertOpportunityCapacityInput } = FlowStageRecipes.initialiseSimpleBookOnlyFlow(orderItemCriteriaList, logger);
const idempotentRepeatB = FlowStageRecipes.idempotentRepeatBAfterBook(orderItemCriteriaList, bookRecipe, defaultFlowStageParams, {
getFirstStageInput: bookRecipeGetFirstStageInput,
Expand Down

0 comments on commit 3584746

Please sign in to comment.