From 3727187742110c8f5dfc66b91e6bf90f7a0efbce Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Tue, 29 Jun 2021 14:14:26 +0200 Subject: [PATCH] misc: Fix typos --- packages/hub/test/hub.test.ts | 2 +- packages/types/src/hub.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hub/test/hub.test.ts b/packages/hub/test/hub.test.ts index d6bbca8c76de..1608a3978fc6 100644 --- a/packages/hub/test/hub.test.ts +++ b/packages/hub/test/hub.test.ts @@ -59,7 +59,7 @@ describe('Hub', () => { }); describe('bindClient', () => { - test('should override curent client', () => { + test('should override current client', () => { const testClient: any = { setupIntegrations: jest.fn() }; const nextClient: any = { setupIntegrations: jest.fn() }; const hub = new Hub(testClient); diff --git a/packages/types/src/hub.ts b/packages/types/src/hub.ts index 22948f3f2024..a6be3e203db6 100644 --- a/packages/types/src/hub.ts +++ b/packages/types/src/hub.ts @@ -168,7 +168,7 @@ export interface Hub { configureScope(callback: (scope: Scope) => void): void; /** - * For the duraction of the callback, this hub will be set as the global current Hub. + * For the duration of the callback, this hub will be set as the global current Hub. * This function is useful if you want to run your own client and hook into an already initialized one * e.g.: Reporting issues to your own sentry when running in your component while still using the users configuration. */