Istanbul nyc to exclude test files

Right, after some digging I’ve managed to get this working. I’ve added

"nyc": {
    "include": "app", // Only looks in the app folder
    "exclude": "**/*.spec.js" 
}

to my package.json. Since I’m using webpack I’ll probably try and find a way of defining this rule in the webpack.config.js file (if possible at all). I’ll come back if I get an answer to this.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)