Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove root from processinfo #9

Merged
merged 1 commit into from May 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -149,7 +149,6 @@ ProcessInfo files MUST match the following structure:
"execArgv": Array<String>,
"cwd": path,
"time": Number (timestamp in ms),
"root": "UUID of NYC process group",
"coverageFilename": "Path to NYC coverage info for this process",
"externalId": "The externally specified name for this process, or null",
}
Expand Down
1 change: 0 additions & 1 deletion index.js
Expand Up @@ -25,7 +25,6 @@ const defaults = {
cwd: process.cwd(),
time: Date.now(),
ppid: process.ppid,
root: null,
coverageFilename: null,
externalId: ''
}
Expand Down
4 changes: 0 additions & 4 deletions tap-snapshots/test-process-db.js-TAP.test.js
Expand Up @@ -75,7 +75,6 @@ exports[`test/process-db.js TAP readProcessInfos > undefined 1`] = `
"cwd": "test/fixtures",
"time": 1555110275928,
"ppid": 60875,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "0f4e28ea-5b03-4677-8c0d-263e81b42f7e.json",
"files": [
"test/fixtures/foo.js"
Expand All @@ -94,7 +93,6 @@ exports[`test/process-db.js TAP readProcessInfos > undefined 1`] = `
"cwd": "test/fixtures",
"time": 1555110276283,
"ppid": 60876,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "300fc62b-eaf2-4505-981b-39567e807f94.json",
"files": [
"test/fixtures/bar.js"
Expand All @@ -113,7 +111,6 @@ exports[`test/process-db.js TAP readProcessInfos > undefined 1`] = `
"cwd": "test/fixtures",
"time": 1555110276382,
"ppid": 60876,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "625ef291-93c0-40b2-a869-70587f7e8fac.json",
"externalId": "named foo",
"files": [
Expand All @@ -132,7 +129,6 @@ exports[`test/process-db.js TAP readProcessInfos > undefined 1`] = `
"cwd": "test/fixtures",
"time": 1555110276750,
"ppid": 60878,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "62c33964-203a-4e6a-b1ff-8a046eeb8912.json",
"files": [
"test/fixtures/bar.js"
Expand Down
1 change: 0 additions & 1 deletion tap-snapshots/test-process-info.js-TAP.test.js
Expand Up @@ -25,7 +25,6 @@ exports[`test/process-info.js TAP basic creation > undefined 1`] = `
],
"uuid": "a universally unique identifier",
"parent": null,
"root": null,
"coverageFilename": null
}
`
Expand Down
Expand Up @@ -10,7 +10,6 @@
"cwd": "test/fixtures",
"time": 1555110275928,
"ppid": 60875,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "0f4e28ea-5b03-4677-8c0d-263e81b42f7e.json",
"files": [
"test/fixtures/foo.js"
Expand Down
Expand Up @@ -10,7 +10,6 @@
"cwd": "test/fixtures",
"time": 1555110276283,
"ppid": 60876,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "300fc62b-eaf2-4505-981b-39567e807f94.json",
"files": [
"test/fixtures/bar.js"
Expand Down
Expand Up @@ -10,7 +10,6 @@
"cwd": "test/fixtures",
"time": 1555110276382,
"ppid": 60876,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "625ef291-93c0-40b2-a869-70587f7e8fac.json",
"externalId": "named foo",
"files": [
Expand Down
Expand Up @@ -10,7 +10,6 @@
"cwd": "test/fixtures",
"time": 1555110276750,
"ppid": 60878,
"root": "de75ec1f-158d-4a45-bb19-525c293ce4bd",
"coverageFilename": "62c33964-203a-4e6a-b1ff-8a046eeb8912.json",
"files": [
"test/fixtures/bar.js"
Expand Down