November 2017
Beginner to intermediate
398 pages
8h 42m
English
If we run ESLint now, we will get errors related to the Jest keywords such as describe, test, and expect:
We need to make a tiny change to our ESLint configuration--we have to specify the jest environment; edit the .eslintrc.js file:
// Environment global objectsenv: { browser: true, es6: true, jest: true,},
Now, ESLint will know about the Jest keywords and will stop complaining.
Read now
Unlock full access