DEV Community

Discussion on: Testing Vue.js in Rails with Webpacker and Jest

Collapse
 
mtancoigne profile image
Manuel Tancoigne

A bit late on this, but thank you; I was searching for a way to test Vue components in a Rails 6 application.

By the way, babel-preset-es2015 is deprecated in favor of babel-preset-env. All I had to do was to add the latter in place of the former and use this as .babelrc:

{
  "presets": [
    "env"
  ]
}
Enter fullscreen mode Exit fullscreen mode

For now, that's all I have to say, but will update if new things pops up... Time to write tests!