• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/team.js TAP team add <scope:team> <user> --parseable > should output success result for parseable add user 1`] = `
9foo	npmcli:developers	added
10`
11
12exports[`test/lib/commands/team.js TAP team add <scope:team> <user> default output > should output success result for add user 1`] = `
13foo added to @npmcli:developers
14`
15
16exports[`test/lib/commands/team.js TAP team create <scope:team> --parseable > should output parseable success result for create team 1`] = `
17npmcli:newteam	created
18`
19
20exports[`test/lib/commands/team.js TAP team create <scope:team> default output > should output success result for create team 1`] = `
21+@npmcli:newteam
22`
23
24exports[`test/lib/commands/team.js TAP team destroy <scope:team> --parseable > should output parseable result for destroy team 1`] = `
25npmcli:newteam	deleted
26`
27
28exports[`test/lib/commands/team.js TAP team destroy <scope:team> default output > should output success result for destroy team 1`] = `
29-@npmcli:newteam
30`
31
32exports[`test/lib/commands/team.js TAP team ls <scope:team> --parseable > should list users for a parseable scope:team 1`] = `
33darcyclarke
34isaacs
35nlf
36ruyadorno
37`
38
39exports[`test/lib/commands/team.js TAP team ls <scope:team> default output > should list users for a given scope:team 1`] = `
40@npmcli:developers has 4 users:
41darcyclarke
42isaacs
43nlf
44ruyadorno
45`
46
47exports[`test/lib/commands/team.js TAP team ls <scope:team> no users > should list no users for a given scope 1`] = `
48@npmcli:developers has 0 users
49`
50
51exports[`test/lib/commands/team.js TAP team ls <scope:team> single user > should list single user for a given scope 1`] = `
52@npmcli:developers has 1 user:
53foo
54`
55
56exports[`test/lib/commands/team.js TAP team ls <scope> --parseable > should list teams for a parseable scope 1`] = `
57npmcli:designers
58npmcli:developers
59npmcli:product
60`
61
62exports[`test/lib/commands/team.js TAP team ls <scope> default output > should list teams for a given scope 1`] = `
63@npmcli has 3 teams:
64@npmcli:designers
65@npmcli:developers
66@npmcli:product
67`
68
69exports[`test/lib/commands/team.js TAP team ls <scope> no teams > should list no teams for a given scope 1`] = `
70@npmcli has 0 teams
71`
72
73exports[`test/lib/commands/team.js TAP team ls <scope> single team > should list single team for a given scope 1`] = `
74@npmcli has 1 team:
75@npmcli:developers
76`
77
78exports[`test/lib/commands/team.js TAP team rm <scope:team> <user> --parseable > should output parseable result for remove user 1`] = `
79foo	npmcli:newteam	removed
80`
81
82exports[`test/lib/commands/team.js TAP team rm <scope:team> <user> default output > should output success result for remove user 1`] = `
83foo removed from @npmcli:newteam
84`
85