fix: Evaluation nodes - add missing test function and credentialTest to methods (#16734)

This commit is contained in:
Michael Kret
2025-07-03 14:13:45 +03:00
committed by GitHub
parent 71771a76c4
commit 044022f004
5 changed files with 15 additions and 4 deletions

View File

@@ -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) => {