test('async: should return true if exists locally', () => {
  return detectInstalled('global-modules', {
    local: true
  }).then((actual) => {
    test.strictEqual(actual, true)