Skip to content

Commit 715a886

Browse files
authored
misc: Fix typos (#3763)
1 parent 8ea6c9d commit 715a886

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/hub/test/hub.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('Hub', () => {
5959
});
6060

6161
describe('bindClient', () => {
62-
test('should override curent client', () => {
62+
test('should override current client', () => {
6363
const testClient: any = { setupIntegrations: jest.fn() };
6464
const nextClient: any = { setupIntegrations: jest.fn() };
6565
const hub = new Hub(testClient);

packages/types/src/hub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export interface Hub {
168168
configureScope(callback: (scope: Scope) => void): void;
169169

170170
/**
171-
* For the duraction of the callback, this hub will be set as the global current Hub.
171+
* For the duration of the callback, this hub will be set as the global current Hub.
172172
* This function is useful if you want to run your own client and hook into an already initialized one
173173
* e.g.: Reporting issues to your own sentry when running in your component while still using the users configuration.
174174
*/

0 commit comments

Comments
 (0)