| 1 |
/* IMPORTANT |
| 2 |
* This snapshot file is auto-generated, but designed for humans. |
| 3 |
* It should be checked into source control and tracked carefully. |
| 4 |
* Re-generate by setting TAP_SNAPSHOT=1 and running tests. |
| 5 |
* Make sure to inspect the output below. Do not ignore changes! |
| 6 |
*/ |
| 7 |
'use strict' |
| 8 |
exports[`test/process-info.js TAP basic creation > must match snapshot 1`] = ` |
| 9 |
ProcessInfo { |
| 10 |
"argv": Array [ |
| 11 |
"a", |
| 12 |
"b", |
| 13 |
"c", |
| 14 |
], |
| 15 |
"coverageFilename": null, |
| 16 |
"cwd": "/some/cwd", |
| 17 |
"execArgv": Array [ |
| 18 |
1, |
| 19 |
2, |
| 20 |
3, |
| 21 |
], |
| 22 |
"externalId": "florp", |
| 23 |
"foo": "bar", |
| 24 |
"parent": null, |
| 25 |
"pid": 420, |
| 26 |
"ppid": 69, |
| 27 |
"time": 1234, |
| 28 |
"uuid": "a universally unique identifier", |
| 29 |
} |
| 30 |
` |
| 31 |
|
| 32 |
exports[`test/process-info.js TAP nyc stuff > must match snapshot 1`] = ` |
| 33 |
CoverageMap { |
| 34 |
"data": Null Object { |
| 35 |
"test/fixtures/bar.js": FileCoverage { |
| 36 |
"data": Object { |
| 37 |
"_coverageSchema": "43e27e138ebf9cfc5966b082cf9a028302ed4184", |
| 38 |
"b": Object { |
| 39 |
"0": Array [ |
| 40 |
1, |
| 41 |
0, |
| 42 |
], |
| 43 |
}, |
| 44 |
"branchMap": Object { |
| 45 |
"0": Object { |
| 46 |
"line": 1, |
| 47 |
"loc": Object { |
| 48 |
"end": Object { |
| 49 |
"column": 1, |
| 50 |
"line": 5, |
| 51 |
}, |
| 52 |
"start": Object { |
| 53 |
"column": 0, |
| 54 |
"line": 1, |
| 55 |
}, |
| 56 |
}, |
| 57 |
"locations": Array [ |
| 58 |
Object { |
| 59 |
"end": Object { |
| 60 |
"column": 1, |
| 61 |
"line": 5, |
| 62 |
}, |
| 63 |
"start": Object { |
| 64 |
"column": 0, |
| 65 |
"line": 1, |
| 66 |
}, |
| 67 |
}, |
| 68 |
Object { |
| 69 |
"end": Object { |
| 70 |
"column": 1, |
| 71 |
"line": 5, |
| 72 |
}, |
| 73 |
"start": Object { |
| 74 |
"column": 0, |
| 75 |
"line": 1, |
| 76 |
}, |
| 77 |
}, |
| 78 |
], |
| 79 |
"type": "if", |
| 80 |
}, |
| 81 |
}, |
| 82 |
"contentHash": "7951eed4c89fa9c43d3583a66380b2c01bc6484cb7d88c25b32378ee5fd021e0", |
| 83 |
"f": Object {}, |
| 84 |
"fnMap": Object {}, |
| 85 |
"hash": "08207f2d4d7fc4645a4a76ff07632e061da28a55", |
| 86 |
"path": "test/fixtures/bar.js", |
| 87 |
"s": Object { |
| 88 |
"0": 1, |
| 89 |
"1": 1, |
| 90 |
"2": 0, |
| 91 |
}, |
| 92 |
"statementMap": Object { |
| 93 |
"0": Object { |
| 94 |
"end": Object { |
| 95 |
"column": 1, |
| 96 |
"line": 5, |
| 97 |
}, |
| 98 |
"start": Object { |
| 99 |
"column": 0, |
| 100 |
"line": 1, |
| 101 |
}, |
| 102 |
}, |
| 103 |
"1": Object { |
| 104 |
"end": Object { |
| 105 |
"column": 32, |
| 106 |
"line": 2, |
| 107 |
}, |
| 108 |
"start": Object { |
| 109 |
"column": 2, |
| 110 |
"line": 2, |
| 111 |
}, |
| 112 |
}, |
| 113 |
"2": Object { |
| 114 |
"end": Object { |
| 115 |
"column": 38, |
| 116 |
"line": 4, |
| 117 |
}, |
| 118 |
"start": Object { |
| 119 |
"column": 2, |
| 120 |
"line": 4, |
| 121 |
}, |
| 122 |
}, |
| 123 |
}, |
| 124 |
}, |
| 125 |
}, |
| 126 |
"test/fixtures/foo.js": FileCoverage { |
| 127 |
"data": Object { |
| 128 |
"_coverageSchema": "43e27e138ebf9cfc5966b082cf9a028302ed4184", |
| 129 |
"b": Object { |
| 130 |
"0": Array [ |
| 131 |
1, |
| 132 |
0, |
| 133 |
], |
| 134 |
}, |
| 135 |
"branchMap": Object { |
| 136 |
"0": Object { |
| 137 |
"line": 1, |
| 138 |
"loc": Object { |
| 139 |
"end": Object { |
| 140 |
"column": 1, |
| 141 |
"line": 11, |
| 142 |
}, |
| 143 |
"start": Object { |
| 144 |
"column": 0, |
| 145 |
"line": 1, |
| 146 |
}, |
| 147 |
}, |
| 148 |
"locations": Array [ |
| 149 |
Object { |
| 150 |
"end": Object { |
| 151 |
"column": 1, |
| 152 |
"line": 11, |
| 153 |
}, |
| 154 |
"start": Object { |
| 155 |
"column": 0, |
| 156 |
"line": 1, |
| 157 |
}, |
| 158 |
}, |
| 159 |
Object { |
| 160 |
"end": Object { |
| 161 |
"column": 1, |
| 162 |
"line": 11, |
| 163 |
}, |
| 164 |
"start": Object { |
| 165 |
"column": 0, |
| 166 |
"line": 1, |
| 167 |
}, |
| 168 |
}, |
| 169 |
], |
| 170 |
"type": "if", |
| 171 |
}, |
| 172 |
}, |
| 173 |
"contentHash": "28f728352972e76f26e4de0e59bf96c0134868d6fff542168fe24690b0bb034b", |
| 174 |
"f": Object {}, |
| 175 |
"fnMap": Object {}, |
| 176 |
"hash": "db8b7aa31bb6299efc0f6dbe709b0adc75d2e0d5", |
| 177 |
"path": "test/fixtures/foo.js", |
| 178 |
"s": Object { |
| 179 |
"0": 1, |
| 180 |
"1": 1, |
| 181 |
"2": 1, |
| 182 |
"3": 0, |
| 183 |
}, |
| 184 |
"statementMap": Object { |
| 185 |
"0": Object { |
| 186 |
"end": Object { |
| 187 |
"column": 1, |
| 188 |
"line": 11, |
| 189 |
}, |
| 190 |
"start": Object { |
| 191 |
"column": 0, |
| 192 |
"line": 1, |
| 193 |
}, |
| 194 |
}, |
| 195 |
"1": Object { |
| 196 |
"end": Object { |
| 197 |
"column": 31, |
| 198 |
"line": 2, |
| 199 |
}, |
| 200 |
"start": Object { |
| 201 |
"column": 2, |
| 202 |
"line": 2, |
| 203 |
}, |
| 204 |
}, |
| 205 |
"2": Object { |
| 206 |
"end": Object { |
| 207 |
"column": 4, |
| 208 |
"line": 5, |
| 209 |
}, |
| 210 |
"start": Object { |
| 211 |
"column": 2, |
| 212 |
"line": 3, |
| 213 |
}, |
| 214 |
}, |
| 215 |
"3": Object { |
| 216 |
"end": Object { |
| 217 |
"column": 4, |
| 218 |
"line": 10, |
| 219 |
}, |
| 220 |
"start": Object { |
| 221 |
"column": 2, |
| 222 |
"line": 7, |
| 223 |
}, |
| 224 |
}, |
| 225 |
}, |
| 226 |
}, |
| 227 |
}, |
| 228 |
}, |
| 229 |
} |
| 230 |
` |
| 231 |
|
| 232 |
exports[`test/process-info.js TAP nyc stuff > must match snapshot 2`] = ` |
| 233 |
/usr/local/bin/node test/fixtures/foo.js |
| 234 |
71.42 % Lines |
| 235 |
` |