cz-cli icon indicating copy to clipboard operation
cz-cli copied to clipboard

source code of commitizen includes coverage instrumentation

Open DmytroDrachov opened this issue 4 years ago • 0 comments

Package version: [email protected] Integrity: sha512-LlZChbDzg3Ir3O2S7jSo/cgWp5/QwylQVr59K4xayVq8S4/RdKzSyJkghAiZZHfhh5t4pxunUoyeg0ml1q/7aw==

Example from dist/git/commit.js:

// ...
function commit(repoPath, message, options, done) {
  cov_2p3l72uoj0.f[0]++;
  let called = (cov_2p3l72uoj0.s[0]++, false); // commit the file by spawning a git process, unless the --hook
  // option was provided. in that case, write the commit message into
  // the .git/COMMIT_EDITMSG file

  cov_2p3l72uoj0.s[1]++;

  if (!options.hookMode) {
    cov_2p3l72uoj0.b[0][0]++;
// ...

DmytroDrachov avatar May 13 '21 15:05 DmytroDrachov