Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Mar 19, 2024
1 parent 0ea575a commit c1d9107
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5507,7 +5507,7 @@ exports[`replay/transform transform inputs input gets 0 padding by default but c
{
"attributes": {
"data-rrweb-id": 12361,
"style": "width: 100px;height: 30px;position: fixed;left: 0px;top: 0px;",
"style": "width: 100px;height: 30px;position: fixed;left: 0px;top: 0px;padding-left: 16px;padding-right: 16px;",
"type": "text",
"value": "",
},
Expand Down
7 changes: 5 additions & 2 deletions ee/frontend/mobile-replay/transform.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ describe('replay/transform', () => {
beforeEach(async () => {
posthogEEModule = await posthogEE()
})

test('can process unknown types without error', () => {
expect(
posthogEEModule.mobileReplay?.transformToWeb([
Expand Down Expand Up @@ -554,8 +555,10 @@ describe('replay/transform', () => {
height: 30,
type: 'input',
inputType: 'text',
paddingLeft: '16px',
paddingRight: 16,
style: {
paddingLeft: '16px',
paddingRight: 16,
},
},
],
},
Expand Down

0 comments on commit c1d9107

Please sign in to comment.