Lines Matching refs:res
621 const res = await owner.completion({ conf: { argv: { remain: argv } } })
622 t.strictSame(res, expect, argv.join(' '))
647 const res = await owner.completion({ conf: { argv: { remain: ['npm', 'owner', 'rm'] } } })
648 t.strictSame(res, maintainers.map(m => m.name), 'should return list of current owners')
653 const res = await owner.completion({ conf: { argv: { remain: ['npm', 'owner', 'rm'] } } })
654 t.strictSame(res, [], 'should have no owners to autocomplete if not cwd package')
661 const res = await owner.completion({ conf: { argv: { remain: ['npm', 'owner', 'rm'] } } })
662 t.strictSame(res, [], 'should have no owners to autocomplete if global')
679 const res = await owner.completion({ conf: { argv: { remain: ['npm', 'owner', 'rm'] } } })
680 t.strictSame(res, [], 'should return no owners if not found')