I am trying to get my first Jest Test to pass with React and Babel.
I am getting the following error:
SyntaxError: /Users/manueldupont/test/av
Solution of @import Unexpected token=:)
Install package:
npm i --save-dev identity-obj-proxy
Add in jest.config.js
module.exports = { "moduleNameMapper": { "\\.(css|less|scss)$": "identity-obj-proxy" } }