istanbul
istanbul copied to clipboard
option to disable coverage on import lines
not sure what I am missing but I have the following import. I am in react-native jest environment and apparently this is an istanbul issue?
import styles from './styles.js';
where style.js is
const styles = {
siteSummaryValueSecondary: {
fontWeight: 'bold',
fontSize: 30,
color: '#ff0000'
},
cardTitlePrimary: {
fontSize: 16
},
pickerStyleSmall: { height: 50, width: 200 }
};
export default styles;
it is a lot longer than that and used in many UI components. Now jest says:
import styles from './styles';EEIEIIII
what am I supposed to test here? Can import files be ignored from coverage report?