npm/tap-snapshots/test/lib/utils/exit-handler.js.test.cjs

61 lines
2.6 KiB
JavaScript

/* 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
`