From 7b83aee653a61b76512aa7c0fd93df432ce08187 Mon Sep 17 00:00:00 2001 From: Graham Langford Date: Mon, 1 Jul 2024 13:12:56 -0500 Subject: [PATCH] pr-suggested rename --- src/analysis/analysisVisitors/templateAnalysis.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/analysis/analysisVisitors/templateAnalysis.test.ts b/src/analysis/analysisVisitors/templateAnalysis.test.ts index 6408eee800..805119d276 100644 --- a/src/analysis/analysisVisitors/templateAnalysis.test.ts +++ b/src/analysis/analysisVisitors/templateAnalysis.test.ts @@ -27,7 +27,7 @@ const position: BrickPosition = { path: "test.path.property", }; -function brickModComponentFactory(expression: Expression) { +function httpBrickModComponentFactory(expression: Expression) { const formState = triggerFormStateFactory(); formState.modComponent.brickPipeline = [ brickConfigFactory({ @@ -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), ); @@ -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), ); @@ -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), );