Fix zapier (#2735)
* Fix zapier tests * Handle nested fields * Code review returns
This commit is contained in:
@ -12,8 +12,10 @@ describe('utils.handleQueryParams', () => {
|
||||
name: 'Company Name',
|
||||
address: 'Company Address',
|
||||
domainName: 'Company Domain Name',
|
||||
linkedinUrl: 'Test linkedinUrl',
|
||||
xUrl: 'Test xUrl',
|
||||
linkedinUrl__url: '/linkedin_url',
|
||||
linkedinUrl__label: "Test linkedinUrl",
|
||||
xUrl__url: '/x_url',
|
||||
xUrl__label: "Test xUrl",
|
||||
annualRecurringRevenue: 100000,
|
||||
idealCustomerProfile: true,
|
||||
employees: 25,
|
||||
@ -23,8 +25,8 @@ describe('utils.handleQueryParams', () => {
|
||||
'name: "Company Name", ' +
|
||||
'address: "Company Address", ' +
|
||||
'domainName: "Company Domain Name", ' +
|
||||
'linkedinUrl: "Test linkedinUrl", ' +
|
||||
'xUrl: "Test xUrl", ' +
|
||||
'linkedinUrl: {url: "/linkedin_url", label: "Test linkedinUrl"}, ' +
|
||||
'xUrl: {url: "/x_url", label: "Test xUrl"}, ' +
|
||||
'annualRecurringRevenue: 100000, ' +
|
||||
'idealCustomerProfile: true, ' +
|
||||
'employees: 25';
|
||||
|
||||
Reference in New Issue
Block a user