Skip to content

Commit

Permalink
Update generator.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Sep 26, 2024
1 parent fe410ee commit 58ebd45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/ci-cd/generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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']);
});
});
Expand Down

0 comments on commit 58ebd45

Please sign in to comment.