diff --git a/packages/components/codemods/upgradeV1Buttons/transformV1Buttons.spec.ts b/packages/components/codemods/upgradeV1Buttons/transformV1Buttons.spec.ts
index 54fabe07d92..39a4ced8dc5 100644
--- a/packages/components/codemods/upgradeV1Buttons/transformV1Buttons.spec.ts
+++ b/packages/components/codemods/upgradeV1Buttons/transformV1Buttons.spec.ts
@@ -168,6 +168,12 @@ describe('transformV1Buttons()', () => {
const outputAst = parseJsx('')
expect(transformInput(inputAst)).toEqual(printAst(outputAst))
})
+
+ it('does not change a non-string value', () => {
+ const inputAst = parseJsx('')
+ const outputAst = parseJsx('')
+ expect(transformInput(inputAst)).toEqual(printAst(outputAst))
+ })
})
})
})