Skip to content

Commit

Permalink
filter jasmine (mocha) only out if sub-dir of node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Aug 20, 2020
1 parent b63677a commit b95925c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ actual class RemoveRunnerAtriumErrorAdjuster : FilterAtriumErrorAdjuster(), Atri
}

companion object {
val runnerRegex: Regex = Regex("[\\\\|/](mocha|jasmine)[\\\\|/]")
val runnerRegex: Regex = Regex("[\\\\|/]node_modules[\\\\|/](mocha|jasmine)[\\\\|/]")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class SampleJsTest {
throw IllegalArgumentException("oho... hello btw")
}.toThrow<IllegalArgumentException> {
messageContains("hello")
messageContains("jasmine")
}
}

Expand Down

0 comments on commit b95925c

Please sign in to comment.