From 98fc2902471af5edc1b999bd559335dcd7d64276 Mon Sep 17 00:00:00 2001 From: vindard <17693119+vindard@users.noreply.github.com> Date: Thu, 8 Feb 2024 11:03:35 -0400 Subject: [PATCH] refactor: remove kratos file from spelling config --- core/api/test/unit/services/kratos/identity.spec.ts | 6 +++--- typos.toml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/core/api/test/unit/services/kratos/identity.spec.ts b/core/api/test/unit/services/kratos/identity.spec.ts index 349f46714a5..615d58b0e17 100644 --- a/core/api/test/unit/services/kratos/identity.spec.ts +++ b/core/api/test/unit/services/kratos/identity.spec.ts @@ -1,14 +1,14 @@ import { getNextPageToken } from "@/services/kratos" describe("decoding link header", () => { - const withNext = - '; rel="first",; rel="next"' + const token = "h9LfEKUiFoLH2R0A" + const withNext = `; rel="first",; rel="next"` const withoutNext = '; rel="first"' it("try decoding link successfully", () => { - expect(getNextPageToken(withNext)).toBe("h9LfEKUiFoLH2R0A") + expect(getNextPageToken(withNext)).toBe(token) }) it("should be undefined when no more next is present", () => { diff --git a/typos.toml b/typos.toml index 4031efd7db1..27dc21747ab 100644 --- a/typos.toml +++ b/typos.toml @@ -2,13 +2,11 @@ files.extend-exclude = [ "dev", "core/api/dev", "core/api/src/domain/users/languages.ts", - "docs/postman-collection/galoy_graphql_main_api.postman_collection.json", "core/api/docker-compose.yml", "quickstart/*.yml", "quickstart/galoy", "quickstart/dev", "prelude", - "core/api/test/unit/services/kratos/identity.spec.ts", "core/notifications/locales/*.yml", ]