(t, { argv, expect, title } = {})
| 1117 | |
| 1118 | t.test('completion', async t => { |
| 1119 | const testComp = async (t, { argv, expect, title } = {}) => { |
| 1120 | const { profile } = await mockProfile(t) |
| 1121 | t.resolveMatch(profile.completion({ conf: { argv: { remain: argv } } }), expect, title) |
| 1122 | } |
| 1123 | |
| 1124 | t.test('npm profile autocomplete', async t => { |
| 1125 | await testComp(t, { |
no test coverage detected