mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: Evaluation nodes - add missing test function and credentialTest to methods (#16734)
This commit is contained in:
@@ -44,6 +44,11 @@ describe('Test Evaluation', () => {
|
||||
return { sheetId: 1, title: sheetName };
|
||||
});
|
||||
|
||||
test('credential test for googleApi should be in methods', async () => {
|
||||
const evaluationNode = new Evaluation();
|
||||
expect(evaluationNode.methods.credentialTest.googleApiCredentialTest).toBeDefined();
|
||||
});
|
||||
|
||||
test('should throw error if output values is empty', async () => {
|
||||
mockExecuteFunctions.getNodeParameter.mockImplementation(
|
||||
(key: string, _: number, fallbackValue?: string | number | boolean | object) => {
|
||||
|
||||
Reference in New Issue
Block a user