tact-lang / tact

Tact compiler main repository
https://tact-lang.org
MIT License
267 stars 53 forks source link

Make tests in `src/test/compilation-failed` less chatty #416

Closed anton-trunov closed 1 day ago

anton-trunov commented 4 days ago

Remove console log output from tests that expect compilation to fail. E.g. the following is distracting:

 PASS  src/test/compilation-failed/const-eval-failed.spec.ts
  ● Console

    console.log
      💼 Compiling project const-eval-div-by-zero...

      at run (src/node.ts:103:17)

    console.log
         > ConstEvalDivByZero: tact compiler

      at build (src/pipeline/build.ts:113:16)

    console.log
      💥 Compilation failed. Skipping packaging

      at build (src/pipeline/build.ts:209:16)

    console.log
      💼 Compiling project const-eval-invalid-address...

      at run (src/node.ts:103:17)

    console.log
         > ConstEvalInvalidAddress: tact compiler

      at build (src/pipeline/build.ts:113:16)

    console.log
      💥 Compilation failed. Skipping packaging

      at build (src/pipeline/build.ts:209:16)