Use npm test --coverage instead. See istanbul docs.