mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-08 16:16:24 +00:00
22 lines
386 B
TypeScript
22 lines
386 B
TypeScript
export default class Coverage {
|
|
|
|
//This function is tested and part of it is uncovered
|
|
uncovered_if = (a = true) => {
|
|
if (a == true) {
|
|
return false
|
|
} else {
|
|
return true
|
|
}
|
|
}
|
|
|
|
//This function will be fully covered
|
|
fully_covered = () => {
|
|
return true
|
|
}
|
|
|
|
//This function will not be tested by unit tests
|
|
uncovered = () => {
|
|
return true
|
|
}
|
|
}
|