Skip to content

Commit

Permalink
Fix segment integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
taranvohra committed Jan 11, 2024
1 parent 165d635 commit ca01a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integrations/segment/tests/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import test from 'test';

import * as api from '@gitbook/api';

import packageJson from '../package.json';
// eslint-disable-next-line import/no-internal-modules
import { generateSegmentTrackEvent } from '../src/events';

Expand Down Expand Up @@ -32,7 +33,7 @@ test('events', async (t) => {
context: {
library: {
name: 'GitBook',
version: '1.0.0',
version: packageJson.version,
},
page: {
referrer: 'https://www.gitbook.com/',
Expand Down

0 comments on commit ca01a2e

Please sign in to comment.