From f2f4fa7c657fae2ef27f7b00ddd6883f5784b879 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Mon, 21 Jun 2021 13:13:35 +0200 Subject: [PATCH] docs: Fix typos --- CHANGELOG.md | 2 +- packages/browser/test/unit/index.test.ts | 4 ++-- packages/types/src/options.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a32a5052eaf5..8ae8543c29f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,7 +59,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) diff --git a/packages/browser/test/unit/index.test.ts b/packages/browser/test/unit/index.test.ts index bab0d2ac8840..f85dc131d3ce 100644 --- a/packages/browser/test/unit/index.test.ts +++ b/packages/browser/test/unit/index.test.ts @@ -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 => { diff --git a/packages/types/src/options.ts b/packages/types/src/options.ts index 5cfd07819019..9b42c48ed0e8 100644 --- a/packages/types/src/options.ts +++ b/packages/types/src/options.ts @@ -133,7 +133,7 @@ export interface Options { autoSessionTracking?: boolean; /** - * Set data to the inital scope + * Initial data to populate scope. */ initialScope?: CaptureContext;