blob: edb7edaa5d5f55c99d90b35203359c44ab666280 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/lib/utils/exit-handler.js TAP handles unknown error with logs and debug file > debug file contents 1`] = `
0 timing npm:load:whichnode Completed in {TIME}ms
15 timing config:load Completed in {TIME}ms
16 timing npm:load:configload Completed in {TIME}ms
17 timing npm:load:mkdirpcache Completed in {TIME}ms
18 timing npm:load:mkdirplogs Completed in {TIME}ms
19 verbose title npm
20 verbose argv
21 timing npm:load:setTitle Completed in {TIME}ms
23 timing npm:load:display Completed in {TIME}ms
24 verbose logfile logs-max:10 dir:{CWD}/test/lib/utils/tap-testdir-exit-handler-handles-unknown-error-with-logs-and-debug-file/cache/_logs
25 verbose logfile {CWD}/test/lib/utils/tap-testdir-exit-handler-handles-unknown-error-with-logs-and-debug-file/cache/_logs/{DATE}-debug-0.log
26 timing npm:load:logFile Completed in {TIME}ms
27 timing npm:load:timers Completed in {TIME}ms
28 timing npm:load:configScope Completed in {TIME}ms
29 timing npm:load Completed in {TIME}ms
30 silly logfile done cleaning log files
31 verbose stack Error: Unknown error
32 verbose cwd {CWD}
33 verbose Foo 1.0.0
34 verbose node v1.0.0
35 verbose npm v1.0.0
36 error code ECODE
37 error ERR SUMMARY Unknown error
38 error ERR DETAIL Unknown error
39 verbose exit 1
41 timing npm Completed in {TIME}ms
42 verbose code 1
43 error A complete log of this run can be found in:
43 error {CWD}/test/lib/utils/tap-testdir-exit-handler-handles-unknown-error-with-logs-and-debug-file/cache/_logs/{DATE}-debug-0.log
`
exports[`test/lib/utils/exit-handler.js TAP handles unknown error with logs and debug file > logs 1`] = `
timing npm:load:whichnode Completed in {TIME}ms
timing config:load Completed in {TIME}ms
timing npm:load:configload Completed in {TIME}ms
timing npm:load:mkdirpcache Completed in {TIME}ms
timing npm:load:mkdirplogs Completed in {TIME}ms
verbose title npm
verbose argv
timing npm:load:setTitle Completed in {TIME}ms
timing npm:load:display Completed in {TIME}ms
verbose logfile logs-max:10 dir:{CWD}/test/lib/utils/tap-testdir-exit-handler-handles-unknown-error-with-logs-and-debug-file/cache/_logs
verbose logfile {CWD}/test/lib/utils/tap-testdir-exit-handler-handles-unknown-error-with-logs-and-debug-file/cache/_logs/{DATE}-debug-0.log
timing npm:load:logFile Completed in {TIME}ms
timing npm:load:timers Completed in {TIME}ms
timing npm:load:configScope Completed in {TIME}ms
timing npm:load Completed in {TIME}ms
silly logfile done cleaning log files
verbose stack Error: Unknown error
verbose cwd {CWD}
verbose Foo 1.0.0
verbose node v1.0.0
verbose npm v1.0.0
error code ECODE
error ERR SUMMARY Unknown error
error ERR DETAIL Unknown error
verbose exit 1
timing npm Completed in {TIME}ms
verbose code 1
error A complete log of this run can be found in:
{CWD}/test/lib/utils/tap-testdir-exit-handler-handles-unknown-error-with-logs-and-debug-file/cache/_logs/{DATE}-debug-0.log
`
|