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'
8exports[`test/lib/commands/profile.js TAP enable-2fa from token and set otp, retries on pending and verifies with qrcode > should output 2fa enablement success msgs 1`] = `
9Scan into your authenticator app:
10qrcode
11 Or enter code: 1234
122FA successfully enabled. Below are your recovery codes, please print these out.
13You will need these to recover access to your account if you lose your authentication device.
14	123456
15	789101
16`
17
18exports[`test/lib/commands/profile.js TAP profile get <key> --parseable > should output parseable result value 1`] = `
19foo
20`
21
22exports[`test/lib/commands/profile.js TAP profile get multiple args --parseable > should output parseable profile value results 1`] = `
23foo	foo@github.com (verified)	https://github.com/npm
24`
25
26exports[`test/lib/commands/profile.js TAP profile get multiple args comma separated > should output all keys 1`] = `
27foo	foo@github.com (verified)	https://github.com/npm
28`
29
30exports[`test/lib/commands/profile.js TAP profile get multiple args default output > should output all keys 1`] = `
31foo	foo@github.com (verified)	https://github.com/npm
32`
33
34exports[`test/lib/commands/profile.js TAP profile get no args --color > should output all profile info with color result 1`] = `
35[1mname[22m: foo
36[1memail[22m: foo@github.com (verified)
37[1mtwo-factor auth[22m: auth-and-writes
38[1mfullname[22m: Foo Bar
39[1mhomepage[22m: https://github.com
40[1mfreenode[22m: foobar
41[1mtwitter[22m: https://twitter.com/npmjs
42[1mgithub[22m: https://github.com/npm
43[1mcreated[22m: 2015-02-26T01:26:37.384Z
44[1mupdated[22m: 2020-08-12T16:19:35.326Z
45`
46
47exports[`test/lib/commands/profile.js TAP profile get no args --parseable > should output all profile info as parseable result 1`] = `
48tfa	auth-and-writes
49name	foo
50email	foo@github.com
51email_verified	true
52created	2015-02-26T01:26:37.384Z
53updated	2020-08-12T16:19:35.326Z
54fullname	Foo Bar
55homepage	https://github.com
56freenode	foobar
57twitter	https://twitter.com/npmjs
58github	https://github.com/npm
59`
60
61exports[`test/lib/commands/profile.js TAP profile get no args default output > should output table with contents 1`] = `
62name: foo
63email: foo@github.com (verified)
64two-factor auth: auth-and-writes
65fullname: Foo Bar
66homepage: https://github.com
67freenode: foobar
68twitter: https://twitter.com/npmjs
69github: https://github.com/npm
70created: 2015-02-26T01:26:37.384Z
71updated: 2020-08-12T16:19:35.326Z
72`
73
74exports[`test/lib/commands/profile.js TAP profile get no args no tfa enabled > should output expected profile values 1`] = `
75name: foo
76email: foo@github.com (verified)
77two-factor auth: disabled
78fullname: Foo Bar
79homepage: https://github.com
80freenode: foobar
81twitter: https://twitter.com/npmjs
82github: https://github.com/npm
83created: 2015-02-26T01:26:37.384Z
84updated: 2020-08-12T16:19:35.326Z
85`
86
87exports[`test/lib/commands/profile.js TAP profile get no args profile has cidr_whitelist item > should output table with contents 1`] = `
88name: foo
89email: foo@github.com (verified)
90two-factor auth: auth-and-writes
91fullname: Foo Bar
92homepage: https://github.com
93freenode: foobar
94twitter: https://twitter.com/npmjs
95github: https://github.com/npm
96created: 2015-02-26T01:26:37.384Z
97updated: 2020-08-12T16:19:35.326Z
98cidr_whitelist: 192.168.1.1
99`
100
101exports[`test/lib/commands/profile.js TAP profile get no args unverified email > should output table with contents 1`] = `
102name: foo
103email: foo@github.com(unverified)
104two-factor auth: auth-and-writes
105fullname: Foo Bar
106homepage: https://github.com
107freenode: foobar
108twitter: https://twitter.com/npmjs
109github: https://github.com/npm
110created: 2015-02-26T01:26:37.384Z
111updated: 2020-08-12T16:19:35.326Z
112`
113
114exports[`test/lib/commands/profile.js TAP profile set <key> <value> writable key --parseable > should output parseable set key success msg 1`] = `
115fullname	Lorem Ipsum
116`
117