tact-lang / tact

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

Refactor tests #402

Closed anton-trunov closed 6 days ago

anton-trunov commented 6 days ago

Closes #346

Gusarich commented 6 days ago

This is an amazing improvement to the codebase! The tests were a big and not very structured mess that was only getting worse. Now it'll be easier to contribute and resolve merge conflicts in PRs!

anton-trunov commented 6 days ago

But I wonder if CLI tests are also exported in npm due to package.json#L28.

good point! fixed

Also, as of now the whole src/ folder is included too. We may want to optimize that, although that's mostly a nitpick.

@novusnota can you please open a new issue about it? we should follow the best practices for npm packaging

What if we also remove the feature- prefix from .spec.ts files in e2e tests?

@Gusarich good point as well! done