Skip to content

Commit

Permalink
fix: spacing issue of dynamic key values
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Aug 7, 2024
1 parent d03412a commit d0c21f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/multi-stage-output.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function Infos({
<SpinnerOrErrorOrChildren
key={key}
error={error}
label={`${kv.label}: `}
label={`${kv.label}:`}
labelPosition="left"
type={spinners.info}
>
Expand Down
6 changes: 3 additions & 3 deletions test/components/multi-stage-output.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ describe('Stages', () => {
const lastFrame = lastValidFrame(frames)
expect(lastFrame).to.include(` this is a message
Static: this is a static key:value pair
Dynamic: this is a dynamic key:value pair
Dynamic: this is a dynamic key:value pair
◼ Step1
`)
Expand Down Expand Up @@ -162,7 +162,7 @@ describe('Stages', () => {
this is a message
Static: this is a static key:value pair
Dynamic: this is a dynamic key:value pair`)
Dynamic: this is a dynamic key:value pair`)
})

it('should show stage specific info block', async () => {
Expand Down Expand Up @@ -196,6 +196,6 @@ describe('Stages', () => {
expect(lastFrame).to.include(` ✔ Step1 0ms
this is a message
Static: this is a static key:value pair
Dynamic: this is a dynamic key:value pair`)
Dynamic: this is a dynamic key:value pair`)
})
})

0 comments on commit d0c21f6

Please sign in to comment.