| 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/lib/cli/exit-handler.js TAP handles unknown error with logs and debug file > debug file contents 1`] = ` |
| 9 |
XX timing npm:load:whichnode Completed in {TIME}ms |
| 10 |
XX silly config load:file:{CWD}/npmrc |
| 11 |
XX silly config load:file:{CWD}/prefix/.npmrc |
| 12 |
XX silly config load:file:{CWD}/home/.npmrc |
| 13 |
XX silly config load:file:{CWD}/global/etc/npmrc |
| 14 |
XX timing npm:load:configload Completed in {TIME}ms |
| 15 |
XX timing npm:load:mkdirpcache Completed in {TIME}ms |
| 16 |
XX timing npm:load:mkdirplogs Completed in {TIME}ms |
| 17 |
XX verbose title npm |
| 18 |
XX verbose argv "--fetch-retries" "0" "--cache" "{CWD}/cache" "--loglevel" "silly" "--color" "false" "--timing" "true" |
| 19 |
XX timing npm:load:setTitle Completed in {TIME}ms |
| 20 |
XX verbose logfile logs-max:10 dir:{CWD}/cache/_logs/{DATE}- |
| 21 |
XX verbose logfile {CWD}/cache/_logs/{DATE}-debug-0.log |
| 22 |
XX timing npm:load Completed in {TIME}ms |
| 23 |
XX timing command:root Completed in {TIME}ms |
| 24 |
XX verbose stack Error: Unknown error |
| 25 |
XX error code ECODE |
| 26 |
XX error Unknown error |
| 27 |
XX timing npm Completed in {TIME}ms |
| 28 |
XX info timing Timing info written to: {CWD}/cache/_logs/{DATE}-timing.json |
| 29 |
XX verbose cwd {CWD}/prefix |
| 30 |
XX verbose os {OS} |
| 31 |
XX verbose {NODE-VERSION} |
| 32 |
XX verbose npm {NPM-VERSION} |
| 33 |
XX verbose exit 1 |
| 34 |
XX verbose code 1 |
| 35 |
XX error A complete log of this run can be found in: {CWD}/cache/_logs/{DATE}-debug-0.log |
| 36 |
` |
| 37 |
|
| 38 |
exports[`test/lib/cli/exit-handler.js TAP handles unknown error with logs and debug file > logs 1`] = ` |
| 39 |
timing npm:load:whichnode Completed in {TIME}ms |
| 40 |
silly config load:file:{CWD}/npmrc |
| 41 |
silly config load:file:{CWD}/prefix/.npmrc |
| 42 |
silly config load:file:{CWD}/home/.npmrc |
| 43 |
silly config load:file:{CWD}/global/etc/npmrc |
| 44 |
timing npm:load:configload Completed in {TIME}ms |
| 45 |
timing npm:load:mkdirpcache Completed in {TIME}ms |
| 46 |
timing npm:load:mkdirplogs Completed in {TIME}ms |
| 47 |
verbose title npm |
| 48 |
verbose argv "--fetch-retries" "0" "--cache" "{CWD}/cache" "--loglevel" "silly" "--color" "false" "--timing" "true" |
| 49 |
timing npm:load:setTitle Completed in {TIME}ms |
| 50 |
verbose logfile logs-max:10 dir:{CWD}/cache/_logs/{DATE}- |
| 51 |
verbose logfile {CWD}/cache/_logs/{DATE}-debug-0.log |
| 52 |
timing npm:load Completed in {TIME}ms |
| 53 |
timing command:root Completed in {TIME}ms |
| 54 |
verbose stack Error: Unknown error |
| 55 |
error code ECODE |
| 56 |
error Unknown error |
| 57 |
timing npm Completed in {TIME}ms |
| 58 |
info timing Timing info written to: {CWD}/cache/_logs/{DATE}-timing.json |
| 59 |
verbose cwd {CWD}/prefix |
| 60 |
verbose os {OS} |
| 61 |
verbose {NODE-VERSION} |
| 62 |
verbose npm {NPM-VERSION} |
| 63 |
verbose exit 1 |
| 64 |
verbose code 1 |
| 65 |
error A complete log of this run can be found in: {CWD}/cache/_logs/{DATE}-debug-0.log |
| 66 |
` |