Skip to content

Commit

Permalink
pr-suggested rename
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlangford committed Jul 1, 2024
1 parent 9d86d12 commit 7b83aee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/analysis/analysisVisitors/templateAnalysis.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const position: BrickPosition = {
path: "test.path.property",
};

function brickModComponentFactory(expression: Expression<unknown>) {
function httpBrickModComponentFactory(expression: Expression<unknown>) {
const formState = triggerFormStateFactory();
formState.modComponent.brickPipeline = [
brickConfigFactory({
Expand Down Expand Up @@ -66,7 +66,7 @@ describe("TemplateAnalysis", () => {
"accepts valid mustache [%s]",
async (template) => {
const analysis = new TemplateAnalysis();
const formState = brickModComponentFactory(
const formState = httpBrickModComponentFactory(
toExpression("mustache", template),
);

Expand All @@ -80,7 +80,7 @@ describe("TemplateAnalysis", () => {
"rejects mustache template in non-mustache expression [%s]",
async (template) => {
const analysis = new TemplateAnalysis();
const formState = brickModComponentFactory(
const formState = httpBrickModComponentFactory(
toExpression("nunjucks", template),
);

Expand All @@ -96,7 +96,7 @@ describe("TemplateAnalysis", () => {
"rejects invalid nunjucks [%s]",
async (template) => {
const analysis = new TemplateAnalysis();
const formState = brickModComponentFactory(
const formState = httpBrickModComponentFactory(
toExpression("nunjucks", template),
);

Expand Down

0 comments on commit 7b83aee

Please sign in to comment.