Debian Codegraph @

istanbul-lib-processinfo/tap-snapshots/test/no-nyc-config.js.test.cjs

raw symbols SCIP
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/no-nyc-config.js TAP spawnArgs from outside nyc > must match snapshot 1`] = `
9 Array [
10 "has an nyc",
11 "/path/to/nyc",
12 Array [
13 "--clean=false",
14 "node",
15 "ok.js",
16 ],
17 Object {
18 "env": Object {
19 "NYC_PROCESSINFO_EXTERNAL_ID": "has an nyc",
20 "x": "y",
21 },
22 "nyc": "/path/to/nyc",
23 "nycArgs": Array [
24 "--clean=false",
25 ],
26 },
27 ]
28 `
29
30 exports[`test/no-nyc-config.js TAP spawnArgs from outside nyc > must match snapshot 2`] = `
31 Array [
32 "has no nyc",
33 "nyc",
34 Array [
35 "node",
36 "ok.js",
37 ],
38 Object {
39 "env": Object {
40 "NYC_PROCESSINFO_EXTERNAL_ID": "has no nyc",
41 "x": "y",
42 },
43 },
44 ]
45 `