From 45e7ae162573db8215fd9a61647c161f548c7f19 Mon Sep 17 00:00:00 2001 From: rebustron Date: Fri, 22 Nov 2024 07:25:00 +0100 Subject: [PATCH] fix: typo correction validations.test.ts (#2405) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Why is this change needed? Corrected a typographical error in the test description. Changed "inpt" to "input" in `validations.test.ts`. This fix improves code readability and consistency. --- ## Merge Checklist - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard. - [ ] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets). - [ ] PR has been tagged with a change label(s) (i.e., documentation, feature, bugfix, or chore). - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. --- ## Commits - **Commit:** `typo validations.test.ts` - Changed "inpt" to "input" in the file `packages/core/src/validations.test.ts`. --- ## PR-Codex overview This PR focuses on correcting a typo in a test description within the `validations.test.ts` file. ### Detailed summary - Changed the test description from `"succeeds with valid string inpt"` to `"succeeds with valid string input"` in the `test` function. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- packages/core/src/validations.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/validations.test.ts b/packages/core/src/validations.test.ts index 7eca34f05..36f214ad6 100644 --- a/packages/core/src/validations.test.ts +++ b/packages/core/src/validations.test.ts @@ -59,7 +59,7 @@ describe("validateFname", () => { expect(validations.validateFname(fname)).toEqual(ok(fname)); }); - test("succeeds with valid string inpt", () => { + test("succeeds with valid string input", () => { const fname = bytesToUtf8String(Factories.Fname.build())._unsafeUnwrap(); expect(validations.validateFname(fname)).toEqual(ok(fname)); });