Welcome to mirror list, hosted at ThFree Co, Russian Federation.

exit-handler.js.test.cjs « utils « lib « test « tap-snapshots - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 523aabca29b50fc83f3c917dc4c697b67ac6577e (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
/* 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:setTitle Completed in {TIME}ms
19 timing npm:load:display Completed in {TIME}ms
20 verbose logfile {CWD}/test/lib/utils/tap-testdir-exit-handler-handles-unknown-error-with-logs-and-debug-file/cache/_logs/{DATE}-debug-0.log
21 timing npm:load:logFile Completed in {TIME}ms
22 timing npm:load:timers Completed in {TIME}ms
23 timing npm:load:configScope Completed in {TIME}ms
24 timing npm:load Completed in {TIME}ms
25 verbose stack Error: Unknown error
26 verbose cwd {CWD}
27 verbose Foo 1.0.0
28 verbose argv "/node" "{CWD}/test/lib/utils/exit-handler.js"
29 verbose node v1.0.0
30 verbose npm  v1.0.0
31 error code ECODE
32 error ERR SUMMARY Unknown error
33 error ERR DETAIL Unknown error
34 verbose exit 1
35 timing npm Completed in {TIME}ms
36 verbose code 1
37 error A complete log of this run can be found in:
37 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:setTitle Completed in {TIME}ms
timing npm:load:display Completed in {TIME}ms
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
verbose stack Error: Unknown error
verbose cwd {CWD}
verbose  Foo 1.0.0
verbose argv "/node" "{CWD}/test/lib/utils/exit-handler.js"
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
`