Skip to content

Commit 9cb7d62

Browse files
committed
fixup! fix: lib/team.js tweaks and tests
1 parent 0f37c75 commit 9cb7d62

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/lib/team.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ t.test('team ls <scope>', t => {
227227
'npmcli:designers',
228228
'npmcli:product',
229229
]
230-
}
230+
},
231231
}
232232

233233
const team = requireInject('../../lib/team.js', {
@@ -293,7 +293,7 @@ t.test('team ls <scope>', t => {
293293
const libnpmteam = {
294294
async lsTeams () {
295295
return []
296-
}
296+
},
297297
}
298298

299299
const team = requireInject('../../lib/team.js', {
@@ -314,7 +314,7 @@ t.test('team ls <scope>', t => {
314314
const libnpmteam = {
315315
async lsTeams () {
316316
return ['npmcli:developers']
317-
}
317+
},
318318
}
319319

320320
const team = requireInject('../../lib/team.js', {
@@ -337,8 +337,8 @@ t.test('team ls <scope>', t => {
337337
t.test('team ls <scope:team>', t => {
338338
const libnpmteam = {
339339
async lsUsers () {
340-
return [ 'nlf', 'ruyadorno', 'darcyclarke', 'isaacs' ]
341-
}
340+
return ['nlf', 'ruyadorno', 'darcyclarke', 'isaacs']
341+
},
342342
}
343343
const team = requireInject('../../lib/team.js', {
344344
...mocks,
@@ -404,7 +404,7 @@ t.test('team ls <scope:team>', t => {
404404
const libnpmteam = {
405405
async lsUsers () {
406406
return []
407-
}
407+
},
408408
}
409409

410410
const team = requireInject('../../lib/team.js', {
@@ -425,7 +425,7 @@ t.test('team ls <scope:team>', t => {
425425
const libnpmteam = {
426426
async lsUsers () {
427427
return ['foo']
428-
}
428+
},
429429
}
430430

431431
const team = requireInject('../../lib/team.js', {
@@ -547,7 +547,7 @@ t.test('completion', t => {
547547
res()
548548
}))
549549

550-
await ['create', 'destroy', 'add', 'rm', 'ls'].map(check)
550+
await ['create', 'destroy', 'add', 'rm', 'ls'].map(check)
551551
})
552552

553553
t.test('npm team unknown subcommand autocomplete', t => {

0 commit comments

Comments
 (0)