module.exports = {
  moduleDirectories: ['node_modules', 'src']
}

module.exports = {
  moduleDirectories: ['node_modules', 'src'],
  globals: {
    fetch: () => {}
  }
}

Add fetch as global method for jest
Add fetch as global method for jest
