diff --git a/__tests__/__snapshots__/buildJsonResults.test.js.snap b/__tests__/__snapshots__/buildJsonResults.test.js.snap index c41acc3..5e8a628 100644 --- a/__tests__/__snapshots__/buildJsonResults.test.js.snap +++ b/__tests__/__snapshots__/buildJsonResults.test.js.snap @@ -29,7 +29,6 @@ Object { Object { "_attr": Object { "classname": "a thing should foo", - "file": "path/to/project1/__tests__/test1.test.js", "name": "project1-foo", "time": 0.003, }, @@ -56,7 +55,6 @@ Object { Object { "_attr": Object { "classname": "another thing should foo", - "file": "path/to/project2/__tests__/test2.test.js", "name": "project2-foo", "time": 0.001, }, diff --git a/utils/buildJsonResults.js b/utils/buildJsonResults.js index 1511d59..b88506f 100644 --- a/utils/buildJsonResults.js +++ b/utils/buildJsonResults.js @@ -119,8 +119,7 @@ module.exports = function (report, appDirectory, options) { _attr: { classname: replaceVars(options.classNameTemplate, testVariables), name: replaceVars(options.titleTemplate, testVariables), - time: tc.duration / 1000, - file: filepath + time: tc.duration / 1000 } }] };