mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 13:39:44 -08:00
5b9c650e55
* 🧪 Add base for building unit testing within nodes * Improve helper functions * 🧪 If node test * 🧪 Airtable node test * 🧪 If node test improvements * 🧪 Airtable node test improvements * ♻️ cleanup node unit tests * ♻️ refactor getting node result data to use helper method * ⚡ removed unused variables * ♻️ Helper to read json files --------- Co-authored-by: Marcus <marcus@n8n.io> Co-authored-by: Michael Kret <michael.k@radency.com>
64 lines
1.3 KiB
JSON
64 lines
1.3 KiB
JSON
{
|
|
"meta": {
|
|
"instanceId": "104a4d08d8897b8bdeb38aaca515021075e0bd8544c983c2bb8c86e6a8e6081c"
|
|
},
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"id": "f857c37f-36c1-4c9c-9b5f-f6ef49db67e3",
|
|
"name": "On clicking 'execute'",
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
820,
|
|
380
|
|
]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"operation": "list",
|
|
"application": {
|
|
"__rl": true,
|
|
"value": "https://airtable.com/appIaXXdDqS5ORr4V/tbljyBEdYzCPF0NDh/viwInsMdsxffad0aU",
|
|
"mode": "url",
|
|
"__regex": "https://airtable.com/([a-zA-Z0-9]{2,})"
|
|
},
|
|
"table": {
|
|
"__rl": true,
|
|
"value": "https://airtable.com/appIaXXdDqS5ORr4V/tbljyBEdYzCPF0NDh/viwInsMdsxffad0aU",
|
|
"mode": "url",
|
|
"__regex": "https://airtable.com/[a-zA-Z0-9]{2,}/([a-zA-Z0-9]{2,})"
|
|
},
|
|
"additionalOptions": {}
|
|
},
|
|
"id": "5654d3b3-fe83-4988-889b-94f107d41807",
|
|
"name": "Airtable",
|
|
"type": "n8n-nodes-base.airtable",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1020,
|
|
380
|
|
],
|
|
"credentials": {
|
|
"airtableApi": {
|
|
"id": "20",
|
|
"name": "Airtable account"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"connections": {
|
|
"On clicking 'execute'": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Airtable",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|