invertase / melos

๐ŸŒ‹ A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.07k stars 193 forks source link

test: refactor test expectations to use ignoringDependencyMessages #687

Closed jessicatarra closed 3 months ago

jessicatarra commented 3 months ago

Description

In the latest commit a1da197 merged into the main branch, a flaky test was introduced that affects Linux environments (my bad ๐Ÿ˜…):

            Expected: ... UNNING\n\n$ melos an ...
              Actual: ... UNNING\n\nResolving  ...
                                    ^
             Differ at offset 71

To address this issue, this PR aims to fix the flaky test and update all expected results of the run_test test suite to utilize the ignoringDependencyMessages matcher util.

Type of Change