Skip to content

Commit

Permalink
Revert "Add file attr"
Browse files Browse the repository at this point in the history
  • Loading branch information
palmerj3 authored Jan 11, 2019
1 parent 43695d7 commit b026223
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions __tests__/__snapshots__/buildJsonResults.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand All @@ -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,
},
Expand Down
3 changes: 1 addition & 2 deletions utils/buildJsonResults.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}]
};
Expand Down

0 comments on commit b026223

Please sign in to comment.