dorny / test-reporter

Displays test results from popular testing frameworks directly in GitHub
MIT License
769 stars 195 forks source link

Target node20 #489

Closed jozefizso closed 3 weeks ago

jozefizso commented 3 weeks ago

Upgrades the TypeScript config to target NodeJS 20 runtime. Also formalizes the minimal required node engine.

This fixes an issue with a regex in the dart flutter parser, as the /ms flag can be used only in the ES2018 target:

src/parsers/dart-json/dart-json-parser.ts:209:123 - error TS1501: This regular expression flag is only available when targeting 'es2018' or later.

209         /^══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═+\s+(.*)\s+When the exception was thrown, this was the stack:/ms