From db72bc960ddeff40d94def366311e5b09ac6e50f Mon Sep 17 00:00:00 2001 From: benjdlambert Date: Thu, 17 Apr 2025 10:21:27 +0200 Subject: [PATCH] chore: Fix the name of the route in the test Signed-off-by: benjdlambert --- .changeset/shiny-symbols-grow.md | 2 +- plugins/scaffolder-backend/src/service/router.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.changeset/shiny-symbols-grow.md b/.changeset/shiny-symbols-grow.md index ea283a2f97..18dd3b8b1f 100644 --- a/.changeset/shiny-symbols-grow.md +++ b/.changeset/shiny-symbols-grow.md @@ -4,4 +4,4 @@ '@backstage/plugin-scaffolder': patch --- -Fixing a bug where the name for `templatingExtensions` was incorrect +Fixing a bug where the name for `templatingExtensions` was incorrectly set to `templateExtensions` diff --git a/plugins/scaffolder-backend/src/service/router.test.ts b/plugins/scaffolder-backend/src/service/router.test.ts index 8afc5230da..d26cc955b3 100644 --- a/plugins/scaffolder-backend/src/service/router.test.ts +++ b/plugins/scaffolder-backend/src/service/router.test.ts @@ -360,10 +360,10 @@ describe.each([ }); }); - describe('GET /v2/temlating-extensions', () => { + describe('GET /v2/templating-extensions', () => { it('lists template filters and globals', async () => { const response = await request(app) - .get('/v2/temlating-extensions') + .get('/v2/templating-extensions') .send(); expect(response.status).toEqual(200); const integrations = ScmIntegrations.fromConfig(config);