test('synchronous: should return true if exists locally', () => {
  return new Promise((resolve) => {
    const res = detectInstalled.sync('global-modules', {
      local: true
    })