diff --git a/packages/builders/__tests__/components/selectMenu.test.ts b/packages/builders/__tests__/components/selectMenu.test.ts index da4fe1b28..8ade90075 100644 --- a/packages/builders/__tests__/components/selectMenu.test.ts +++ b/packages/builders/__tests__/components/selectMenu.test.ts @@ -4,8 +4,7 @@ import { SelectMenuComponent, SelectMenuOption } from '../../src/index'; const selectMenu = () => new SelectMenuComponent(); const selectMenuOption = () => new SelectMenuOption(); -const longStr = - 'looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong'; +const longStr = 'a'.repeat(256); const selectMenuOptionData: APISelectMenuOption = { label: 'test', diff --git a/packages/builders/src/components/Assertions.ts b/packages/builders/src/components/Assertions.ts index 2f45e1783..1d180085c 100644 --- a/packages/builders/src/components/Assertions.ts +++ b/packages/builders/src/components/Assertions.ts @@ -19,7 +19,7 @@ export const buttonLabelValidator = z.string().nonempty().max(80); export const buttonStyleValidator = z.number().int().min(ButtonStyle.Primary).max(ButtonStyle.Link); -export const placeholderValidator = z.string().max(100); +export const placeholderValidator = z.string().max(150); export const minMaxValidator = z.number().int().min(0).max(25); export const optionsValidator = z.object({}).array().nonempty();