Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / src / forms / deps / __tests__ / url.test.ts
Size: Mime:
const urls = {
  'www': 'www.facebook.com',
  'https': 'https://google.com',
  'httpswww': 'https://www.eh.ca',
  'org': 'wikipedia.org',
  'nope': 'wikipedia',
}

test.skip('@todo isUrl', () => {
  const mapValues = (obj, fn) => {
    Object.keys(obj).forEach(key => {
      obj[key] = [obj[key], fn(obj[key])]
    })
    return obj
  }

  // mapValues(urls, isUrl)
})