Skip to content

Commit

Permalink
Merge branch 'segmentio:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
thesunita authored Oct 23, 2024
2 parents 867e52a + 1706ac5 commit d49d6d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/E2E/e2e/main.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ describe('#mainTest', () => {
expect(request.batch).toHaveLength(1);
expect(context.app.name).toBe('AnalyticsReactNativeE2E');
expect(context.app.version).toBe('1.0');
expect(context.library.name).toBe('@segment/analytics-react-native');
expect(context.library.name).toBe('analytics-react-native');
expect(context.locale).toBe('en-US');
// This test only works in iOS for now
if (device.getPlatform() === 'ios') {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/__tests__/context.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('#getContext', () => {
type: 'phone',
},
library: {
name: packageJson.name,
name: 'analytics-react-native',
version: packageJson.version,
},
locale: 'en_US',
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const getContext = async (
},
device,
library: {
name: libraryInfo.name,
name: 'analytics-react-native',
version: libraryInfo.version,
},
locale,
Expand Down

0 comments on commit d49d6d6

Please sign in to comment.