Open robcronin opened 5 years ago
Add to setupFiles in jest config
setupFiles
Add require('jest') and maybe require('babel-polyfill') to the top of the setup file
require('jest')
require('babel-polyfill')
Add to
setupFiles
in jest configAdd
require('jest')
and mayberequire('babel-polyfill')
to the top of the setup file