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

@@ -53,6 +53,11 @@ describe('Evaluation Trigger Node', () => {
});
});
test('credential test for googleApi should be in methods', async () => {
const evaluationTrigger = new EvaluationTrigger();
expect(evaluationTrigger.methods.credentialTest.googleApiCredentialTest).toBeDefined();
});
test('should return a single row from google sheet', async () => {
mockExecuteFunctions.getNodeParameter.mockImplementation(
(key: string, _: number, fallbackValue?: string | number | boolean | object) => {