Skip to content

Commit c5ef0e7

Browse files
committed
Revert "Merge pull request #9 from managed-components/ZRZ-1271"
This reverts commit 87c8dbc, reversing changes made to a23991b. e
1 parent 87c8dbc commit c5ef0e7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/index.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('Hubspot MC event handler works correctly', () => {
8888

8989
it('creates the Hubspot track request correctly', async () => {
9090
const request = fetchedRequests.find((x: any) =>
91-
x.url.startsWith('https://track-eu1.hubspot.com/__ptbe.gif?')
91+
x.url.startsWith('https://track-eu1.hubspot.com/__ptq.gif?')
9292
)
9393
expect(request).toBeTruthy()
9494
expect(request?.opts?.mode).toEqual('no-cors')
@@ -97,7 +97,7 @@ describe('Hubspot MC event handler works correctly', () => {
9797

9898
const url = new URL(request.url)
9999

100-
expect(url.pathname).toEqual('/__ptbe.gif')
100+
expect(url.pathname).toEqual('/__ptq.gif')
101101
expect(url.searchParams.get('k')).toEqual('3')
102102
expect(url.searchParams.get('v')).toEqual('1.1')
103103
expect(url.searchParams.get('a')).toEqual(settings.accountId)

vitest.config.ts

-2
This file was deleted.

0 commit comments

Comments
 (0)