Skip to content

Commit

Permalink
fix moxk
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Dec 10, 2024
1 parent 26e531a commit f34777c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/__tests__/extensions/replay/sessionrecording.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import { SimpleEventEmitter } from '../../../utils/simple-event-emitter'

// Type and source defined here designate a non-user-generated recording event

jest.mock('../../../config', () => ({ LIB_VERSION: 'v0.0.1' }))
jest.mock('../../../config', () => ({ LIB_VERSION: '0.0.1' }))

const EMPTY_BUFFER = {
data: [],
Expand Down Expand Up @@ -859,7 +859,7 @@ describe('SessionRecording', () => {
$session_id: sessionId,
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
{
_url: 'https://test.com/s/',
Expand Down Expand Up @@ -896,7 +896,7 @@ describe('SessionRecording', () => {
{ type: 3, data: { source: 2 } },
],
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
{
_url: 'https://test.com/s/',
Expand Down Expand Up @@ -978,7 +978,7 @@ describe('SessionRecording', () => {
$snapshot_data: [{ data: { source: 1 }, emit: 1, type: 3 }],
$snapshot_bytes: 39,
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
{
_url: 'https://test.com/s/',
Expand Down Expand Up @@ -1587,7 +1587,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: 186,
$window_id: expect.any(String),
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
{
_batchKey: 'recordings',
Expand Down Expand Up @@ -1679,7 +1679,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: 186,
$window_id: expect.any(String),
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
{
_batchKey: 'recordings',
Expand Down Expand Up @@ -1707,7 +1707,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: 186,
$window_id: expect.any(String),
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
{
_batchKey: 'recordings',
Expand Down Expand Up @@ -2129,7 +2129,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: expect.any(Number),
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
captureOptions
)
Expand All @@ -2152,7 +2152,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: expect.any(Number),
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
captureOptions
)
Expand Down Expand Up @@ -2183,7 +2183,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: expect.any(Number),
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
captureOptions
)
Expand Down Expand Up @@ -2215,7 +2215,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: expect.any(Number),
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
captureOptions
)
Expand All @@ -2236,7 +2236,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: 86,
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
captureOptions
)
Expand All @@ -2262,7 +2262,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: 58,
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
captureOptions
)
Expand All @@ -2287,7 +2287,7 @@ describe('SessionRecording', () => {
$snapshot_bytes: 69,
$window_id: 'windowId',
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
captureOptions
)
Expand Down Expand Up @@ -2335,7 +2335,7 @@ describe('SessionRecording', () => {
{ type: 3, data: { source: 2 } },
],
$lib: 'web',
$lib_version: 'v0.0.1',
$lib_version: '0.0.1',
},
expect.any(Object)
)
Expand Down

0 comments on commit f34777c

Please sign in to comment.