Skip to content

Commit

Permalink
misc: Fix typos (#3763)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhcarvalho authored Jun 29, 2021
1 parent 8ea6c9d commit 715a886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/hub/test/hub.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 715a886

Please sign in to comment.