src/__mocks__/data.js
function combinedData(flairs, presenters) {
  let result = []
  for (let [ flairPattern, normalizedFlair ] of flairs) {
    for (let [ presenterPattern, presenter ] of presenters)
      result.push([ `${flairPattern}!${presenterPattern}`, normalizedFlair, presenter ])
  }
  return result
}
function combinedData(flairs, presenters) {
  let result = []
  for (let [ flairPattern, normalizedFlair ] of flairs) {
    for (let [ presenterPattern, presenter ] of presenters)
      result.push([ `${flairPattern}!${presenterPattern}`, normalizedFlair, presenter ])
  }
  return result
}
function combinedData ( flairs , presenters ) { let result = [ ] for ( let [ flairPattern , normalizedFlair ] of flairs ) { for ( let [ presenterPattern , presenter ] of presenters ) result . push ( [ ` ${ flairPattern } ${ presenterPattern } ` , normalizedFlair , presenter ] ) } return result }
Generate a dataset combining the flairs and presenters patterns.
Generate a dataset combining the flairs and presenters patterns .