Remove start_column from annotation

We can't determine end_column
This commit is contained in:
Michal Dorner 2020-11-28 22:13:19 +01:00
parent fc8cfe0f32
commit ed138d561e
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
4 changed files with 1 additions and 7 deletions

View file

@ -17,7 +17,6 @@ Received: false
at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41 at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41
at processTicksAndRejections (internal/process/task_queues.js:97:5)", at processTicksAndRejections (internal/process/task_queues.js:97:5)",
"path": "__tests__/main.test.js", "path": "__tests__/main.test.js",
"start_column": 21,
"start_line": 10, "start_line": 10,
"title": "Exception was thrown here", "title": "Exception was thrown here",
}, },
@ -34,7 +33,6 @@ Received: false
at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41 at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41
at processTicksAndRejections (internal/process/task_queues.js:97:5)", at processTicksAndRejections (internal/process/task_queues.js:97:5)",
"path": "lib/main.js", "path": "lib/main.js",
"start_column": 9,
"start_line": 2, "start_line": 2,
"title": "Exception was thrown here", "title": "Exception was thrown here",
}, },
@ -50,7 +48,6 @@ Received: false
at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41 at C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-jasmine2\\\\build\\\\queueRunner.js:75:41
at processTicksAndRejections (internal/process/task_queues.js:97:5)", at processTicksAndRejections (internal/process/task_queues.js:97:5)",
"path": "__tests__/main.test.js", "path": "__tests__/main.test.js",
"start_column": 11,
"start_line": 21, "start_line": 21,
"title": "Exception was thrown here", "title": "Exception was thrown here",
}, },
@ -72,7 +69,6 @@ Received: false
at runTestInternal (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-runner\\\\build\\\\runTest.js:380:22) at runTestInternal (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-runner\\\\build\\\\runTest.js:380:22)
at runTest (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-runner\\\\build\\\\runTest.js:472:34)", at runTest (C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\jest\\\\node_modules\\\\jest-runner\\\\build\\\\runTest.js:472:34)",
"path": "__tests__/second.test.js", "path": "__tests__/second.test.js",
"start_column": 34,
"start_line": 1, "start_line": 1,
"title": "Exception was thrown here", "title": "Exception was thrown here",
}, },

1
dist/index.js generated vendored
View file

@ -222,7 +222,6 @@ function getAnnotations(junit, workDir, trackedFiles) {
annotation_level: 'failure', annotation_level: 'failure',
start_line: src.line, start_line: src.line,
end_line: src.line, end_line: src.line,
start_column: src.column,
path: src.file, path: src.file,
message: ex, message: ex,
title: 'Exception was thrown here' title: 'Exception was thrown here'

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -144,7 +144,6 @@ function getAnnotations(junit: JunitReport, workDir: string, trackedFiles: strin
annotation_level: 'failure', annotation_level: 'failure',
start_line: src.line, start_line: src.line,
end_line: src.line, end_line: src.line,
start_column: src.column,
path: src.file, path: src.file,
message: ex, message: ex,
title: 'Exception was thrown here' title: 'Exception was thrown here'