Skip to content

Commit

Permalink
docs: Fix typos (#3716)
Browse files Browse the repository at this point in the history
inital -> initial
  • Loading branch information
rhcarvalho authored Jun 21, 2021
1 parent 4516379 commit c131874
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

## 6.4.0

- [core] feat: initalScope in SDK Options (#3544)
- [core] feat: initialScope in SDK Options (#3544)
- [node] feat: Release Health for Node (Session Aggregates) (#3319)
- [node] feat: Autoload Database Integrations in Node environment (#3483)
- [react] feat: Add support for React 17 Error Boundaries (#3532)
Expand Down
4 changes: 2 additions & 2 deletions packages/browser/test/unit/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,14 @@ describe('SentryBrowser initialization', () => {
expect(global.__SENTRY__.hub._stack[0].scope._tags).to.deep.equal({ a: 'b' });
});

it('should use initalScope Scope', () => {
it('should use initialScope Scope', () => {
const scope = new Scope();
scope.setTags({ a: 'b' });
init({ dsn, initialScope: scope });
expect(global.__SENTRY__.hub._stack[0].scope._tags).to.deep.equal({ a: 'b' });
});

it('should use initalScope callback', () => {
it('should use initialScope callback', () => {
init({
dsn,
initialScope: scope => {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export interface Options {
autoSessionTracking?: boolean;

/**
* Set data to the inital scope
* Initial data to populate scope.
*/
initialScope?: CaptureContext;

Expand Down

0 comments on commit c131874

Please sign in to comment.