Skip to content

Commit

Permalink
Elixir 1.14.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mward-sudo committed Sep 13, 2022
1 parent b9a89f0 commit beb4a58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/tests_parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function parseMixOutput(projectDir: string, stdout: string): Map<string,

const tests = cleanOutput
.trim()
.replace(/All tests have been excluded./g, "") // Remove the line "All tests have been excluded." introduced by elixir 1.14.0
.split('\n\n') // tests grouped per files
.map((string) => string.split('\n').filter((string) => string)) // sometimes there are no tests, like an empty doctest
.filter((arr) => arr.length > 1) // Some files don't have tests
Expand Down

0 comments on commit beb4a58

Please sign in to comment.