Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Sep 26, 2023
1 parent dd52053 commit 2566557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/browser/src/core/events/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ describe('Event Factory', () => {
const shopper = { totalSpent: 100 }

const defaultContext = {
locale: 'en-US',
library: {
// already tested in page-enrichment
name: 'analytics.js',
version: expect.stringContaining('npm:next-'),
},
userAgent: navigator.userAgent,
page: getDefaultPageContext(),
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import { pick } from '../../../lib/pick'
import { SegmentioSettings } from '../../segmentio'
import { version } from '../../../generated/version'
import { CoreExtraContext } from '@segment/analytics-core'
/**
* TODO: move this to top level tests and rename to page-enrichment.integration.test.ts
* These tests are not unit tests and test functionality outside of the plugin.
*/

let ajs: Analytics

Expand Down

0 comments on commit 2566557

Please sign in to comment.