src/context.js
function getContext(i) {
  if (context) {
    return context
  } else {
    const path = getCallsite(i || 2).getFileName()
    const file = files[path]
    if (file) return file.group
    throw Error(`Test module was not loaded properly: "${path}"`)
  }
}
function getContext(i) {
  if (context) {
    return context
  } else {
    const path = getCallsite(i || 2).getFileName()
    const file = files[path]
    if (file) return file.group
    throw Error(`Test module was not loaded properly: "${path}"`)
  }
}
function getContext ( i ) { if ( context ) { return context } else { const path = getCallsite ( i || 2 ) . getFileName ( ) const file = files [ path ] if ( file ) return file . group throw Error ( ` ${ path } ` ) } }
Create a file if no context exists.
Create a file if no context exists .