mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: Evaluation nodes - add missing test function and credentialTest to methods (#16734)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user