mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix test
This commit is contained in:
parent
d4d75c9090
commit
6ed9b6afcf
|
@ -268,20 +268,6 @@ describe('Hubspot v1 - GenericFunctions', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return associations with some fields missing', () => {
|
|
||||||
const associations = {
|
|
||||||
companyIds: '1,2,3',
|
|
||||||
contactIds: '10,11,12',
|
|
||||||
};
|
|
||||||
|
|
||||||
const result = getAssociations(associations);
|
|
||||||
|
|
||||||
expect(result).toEqual({
|
|
||||||
companyIds: ['1', '2', '3'],
|
|
||||||
contactIds: ['10', '11', '12'],
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should return associations with empty fields', () => {
|
it('should return associations with empty fields', () => {
|
||||||
const associations = {
|
const associations = {
|
||||||
companyIds: '',
|
companyIds: '',
|
||||||
|
|
|
@ -268,20 +268,6 @@ describe('Hubspot v2 - GenericFunctions', () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return associations with some fields missing', () => {
|
|
||||||
const associations = {
|
|
||||||
companyIds: '1,2,3',
|
|
||||||
contactIds: '10,11,12',
|
|
||||||
};
|
|
||||||
|
|
||||||
const result = getAssociations(associations);
|
|
||||||
|
|
||||||
expect(result).toEqual({
|
|
||||||
companyIds: ['1', '2', '3'],
|
|
||||||
contactIds: ['10', '11', '12'],
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should return associations with empty fields', () => {
|
it('should return associations with empty fields', () => {
|
||||||
const associations = {
|
const associations = {
|
||||||
companyIds: '',
|
companyIds: '',
|
||||||
|
|
Loading…
Reference in a new issue