From 58ebd45dbcedd501429f5fd332a0ce97cb5a0a29 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Thu, 26 Sep 2024 07:47:00 -0300 Subject: [PATCH] Update generator.spec.ts --- generators/ci-cd/generator.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/ci-cd/generator.spec.ts b/generators/ci-cd/generator.spec.ts index d897357c59cf..52ead2bc7763 100644 --- a/generators/ci-cd/generator.spec.ts +++ b/generators/ci-cd/generator.spec.ts @@ -43,7 +43,7 @@ describe(`generator - ${generator}`, () => { await helpers.runCli('ci-cd').withJHipsterConfig().withSkipWritingPriorities(); }); - it('should match order', () => { + it('should match prompts order', () => { expect(runResult.askedQuestions.map(({ name }) => name)).toMatchInlineSnapshot(` [ "ciCd", @@ -68,7 +68,7 @@ describe(`generator - ${generator}`, () => { await helpers.runCli('ci-cd github jenkins gitlab azure').withJHipsterConfig().withSkipWritingPriorities(); }); - it('should match order', () => { + it('should populate context', () => { expect(runResult.generator.context!.ciCd).toEqual(['github', 'jenkins', 'gitlab', 'azure']); }); });