<…>
These pattern strings match against the full path. Use the<rootDir>
string token to include the path to your project’s root directory to prevent it from accidentally ignoring all of your files in different environments that may have different root directories. Example:["<rootDir>/build/"]
.
<...>
"modulePathIgnorePatterns": [
"build"
]
No files found in /home/travis/build/darklight9811/candlelit.
See the resemblance?
Hint: Your project is checked out to /home/travis/build/<your name>/<project name>
. So all paths in it match “build
”.