Skip to content
Snippets Groups Projects
Commit 97ba32f0 authored by Mireya Gen Andres's avatar Mireya Gen Andres
Browse files

Fix linter complaints

parent 69247ba4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,23 +12,26 @@ query getPipelineData($fullPath: ID!, $iid: ID!) {
webPath
}
detailedStatus {
id
icon
group
}
stages {
edges {
node {
id
name
jobs {
nodes {
createdAt
id
createdAt
name
scheduledAt
startedAt
status
triggered
detailedStatus {
id
detailsPath
icon
group
Loading
Loading
@@ -36,6 +39,7 @@ query getPipelineData($fullPath: ID!, $iid: ID!) {
tooltip
}
stage {
id
name
}
}
Loading
Loading
@@ -56,4 +60,4 @@ query getPipelineData($fullPath: ID!, $iid: ID!) {
}
}
}
}
\ No newline at end of file
}
Loading
Loading
@@ -9,7 +9,7 @@ export const mockCommit = {
shortId: '38f3d891',
title: 'Update .gitlab-ci.yml file',
webPath: '/root/project/-/commit/38f3d89147765427a7ce58be28cd76d14efa682a',
__typename: 'Commit'
__typename: 'Commit',
};
 
export const mockJob = {
Loading
Loading
@@ -26,13 +26,13 @@ export const mockJob = {
group: 'success',
text: 'passed',
tooltip: 'passed',
__typename: 'DetailedStatus'
__typename: 'DetailedStatus',
},
stage: {
name: 'build',
__typename: 'CiStage'
__typename: 'CiStage',
},
__typename: 'CiJob'
__typename: 'CiJob',
};
 
export const mockUser = {
Loading
Loading
@@ -44,18 +44,18 @@ export const mockUser = {
webUrl: 'http://gdk.test:3000/root',
status: {
message: 'making great things',
__typename: 'UserStatus'
__typename: 'UserStatus',
},
__typename: 'UserCore'
__typename: 'UserCore',
};
 
export const mockStage = {
name: 'build',
jobs: {
nodes: [mockJob],
__typename: 'CiJobConnection'
__typename: 'CiJobConnection',
},
__typename: 'CiStage'
__typename: 'CiStage',
};
 
export const mockPipelineQueryResponse = {
Loading
Loading
@@ -71,20 +71,20 @@ export const mockPipelineQueryResponse = {
detailedStatus: {
icon: 'status_failed',
group: 'failed',
__typename: 'DetailedStatus'
__typename: 'DetailedStatus',
},
stages: {
edges: [
{
node: mockStage,
__typename: 'CiStageEdge'
__typename: 'CiStageEdge',
},
],
__typename: 'CiStageConnection'
__typename: 'CiStageConnection',
},
__typename: 'Pipeline'
__typename: 'Pipeline',
},
__typename: 'Project'
}
}
__typename: 'Project',
},
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment