| 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/lib/commands/team.js TAP team add <scope:team> <user> --parseable > should output success result for parseable add user 1`] = ` |
| 9 |
foo npmcli:developers added |
| 10 |
` |
| 11 |
|
| 12 |
exports[`test/lib/commands/team.js TAP team add <scope:team> <user> default output > should output success result for add user 1`] = ` |
| 13 |
foo added to @npmcli:developers |
| 14 |
` |
| 15 |
|
| 16 |
exports[`test/lib/commands/team.js TAP team create <scope:team> --parseable > should output parseable success result for create team 1`] = ` |
| 17 |
npmcli:newteam created |
| 18 |
` |
| 19 |
|
| 20 |
exports[`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 |
|
| 24 |
exports[`test/lib/commands/team.js TAP team destroy <scope:team> --parseable > should output parseable result for destroy team 1`] = ` |
| 25 |
npmcli:newteam deleted |
| 26 |
` |
| 27 |
|
| 28 |
exports[`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 |
|
| 32 |
exports[`test/lib/commands/team.js TAP team ls <scope:team> --parseable > should list users for a parseable scope:team 1`] = ` |
| 33 |
darcyclarke |
| 34 |
isaacs |
| 35 |
nlf |
| 36 |
ruyadorno |
| 37 |
` |
| 38 |
|
| 39 |
exports[`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: |
| 41 |
darcyclarke |
| 42 |
isaacs |
| 43 |
nlf |
| 44 |
ruyadorno |
| 45 |
` |
| 46 |
|
| 47 |
exports[`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 |
|
| 51 |
exports[`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: |
| 53 |
foo |
| 54 |
` |
| 55 |
|
| 56 |
exports[`test/lib/commands/team.js TAP team ls <scope> --parseable > should list teams for a parseable scope 1`] = ` |
| 57 |
npmcli:designers |
| 58 |
npmcli:developers |
| 59 |
npmcli:product |
| 60 |
` |
| 61 |
|
| 62 |
exports[`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 |
|
| 69 |
exports[`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 |
|
| 73 |
exports[`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 |
|
| 78 |
exports[`test/lib/commands/team.js TAP team rm <scope:team> <user> --parseable > should output parseable result for remove user 1`] = ` |
| 79 |
foo npmcli:newteam removed |
| 80 |
` |
| 81 |
|
| 82 |
exports[`test/lib/commands/team.js TAP team rm <scope:team> <user> default output > should output success result for remove user 1`] = ` |
| 83 |
foo removed from @npmcli:newteam |
| 84 |
` |