Update multiple packages + fix eslint resolver issue

This commit is contained in:
Michal Dorner 2022-08-20 00:06:56 +02:00
parent 5558abf4ac
commit b595428c55
No known key found for this signature in database
GPG key ID: 7325B8B59CA1B65C
5 changed files with 420 additions and 21 deletions

View file

@ -195,7 +195,8 @@ export class DartJsonParser implements TestParser {
private getErrorMessage(message: string, print: string): string {
if (this.sdk === 'flutter') {
const uselessMessageRe = /^Test failed\. See exception logs above\.\nThe test description was:/m
const flutterPrintRe = /^ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK +\s+(.*)\s+When the exception was thrown, this was the stack:/ms
const flutterPrintRe =
/^ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK +\s+(.*)\s+When the exception was thrown, this was the stack:/ms
if (uselessMessageRe.test(message)) {
const match = print.match(flutterPrintRe)
if (match !== null) {