diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 129896626ffb490e705bfcddac4b4d7f75c208b6..cd98c3012d49e867e5f4aa06cb8627e92b08e834 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ unit-test: - apk add bash script: - yarn - - yarn test --ci --reporters=default --reporters=jest-junit + - yarn test --ci --reporters=default --reporters=jest-junit --coverage coverage: "/All files[^|]*\\|[^|]*\\s+([\\d\\.]+)/" artifacts: when: always diff --git a/src/core/contractVerification.js b/src/core/contractVerification.js index c53cf4e82f6ca94db46b57e4ef25c88e702bf3e9..62168192b4ffc33682998e7b780f301caead23ef 100644 --- a/src/core/contractVerification.js +++ b/src/core/contractVerification.js @@ -54,7 +54,6 @@ async function verifyContract(url, apiAuthKey, appLogin, contractId, pointId) { } else { currentContract = parseContracts(parsedReply) } - console.log(currentContract) if ( (currentContract.etatCode === contractState.ACTIF || currentContract.etatCode === contractState.DEMANDE) &&