Jest with Vue.js and Babel Unknown Option

April 7, 2020

I was trying to run a Jest unit test against a vue.js component. I was getting the following error:

 FAIL  src/components/UserList.spec.js
  ‚óŹ Test suite failed to run

    ReferenceError: [BABEL] unknown: Unknown option: C:\Users\drumcoder\app\node_modules\@vue\cli-plugin-babel\preset.js.overrides. 
    Check out for more information about options.

    A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:

      `{ presets: [{option: value}] }`
      `{ presets: [['presetName', {option: value}]] }`

    For more detailed information on preset configuration, please see

I managed for fix this by updating to a later version of babel-core

npm install babel-core@^7.0.0-bridge.0