reactjs - Couldn't find preset "airbnb" relative to directory -


i'm trying set enzyme (written airbnb) in order run ui tests in react. however, no matter configuration have (and i've tried several) keep getting error. added .babelrc file has following inside:

{   "presets": ["airbnb"] } 

but still gives me same error. .babelrc file on same level package.json file. i've searched everywhere online see causing this, i'm @ loss. ideas?

make sure install preset

npm install --save-dev babel-preset-airbnb 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

c# - Json.Net Serialize String from URI -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -