Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Feb 15, 2024
1 parent 14622eb commit d0cb7d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
13 changes: 6 additions & 7 deletions packages/nodes-base/nodes/GraphQL/test/GraphQL.node.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ import { executeWorkflow } from '@test/nodes/ExecuteWorkflow';
import * as Helpers from '@test/nodes/Helpers';

describe('GraphQL Node', () => {

const mockResponse = {
data: {
nodes: {}
}
}
data: {
nodes: {},
},
};

const tests: WorkflowTestData[] = [
{
Expand All @@ -19,7 +18,7 @@ describe('GraphQL Node', () => {
output: {
nodeExecutionOrder: ['Start'],
nodeData: {
"Fetch Request Format JSON": [
'Fetch Request Format JSON': [
[
{
json: mockResponse,
Expand All @@ -39,7 +38,7 @@ describe('GraphQL Node', () => {
},
],
},
}
},
];

const nodeTypes = Helpers.setup(tests);
Expand Down
12 changes: 3 additions & 9 deletions packages/nodes-base/nodes/GraphQL/test/workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
"name": "When clicking \"Test workflow\"",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
180,
160
]
"position": [180, 160]
},
{
"parameters": {
Expand All @@ -24,10 +21,7 @@
"name": "Fetch Request Format JSON",
"type": "n8n-nodes-base.graphql",
"typeVersion": 1,
"position": [
420,
160
],
"position": [420, 160],
"id": "7f8ceaf4-b82f-48d5-be0b-9fe3bfb35ee4"
}
],
Expand All @@ -45,4 +39,4 @@
}
},
"pinData": {}
}
}

0 comments on commit d0cb7d0

Please sign in to comment.