Robert Jaros
03/26/2021, 11:43 PMkotlin-test-js-runner
. Without any code changes one of my tests in KVision started failing with strange error:
> Task :kvision-modules:kvision-react:legacyBrowserTest
UncaughtException:: Cannot read property 'forEach' of undefined
TypeError: Cannot read property 'forEach' of undefined
at KarmaKotlinReporter.specFailure (/home/runner/work/kvision/kvision/build/js/node_modules/kotlin-test-js-runner/karma-kotlin-reporter.js:218:88)
Here is a link to the github actions failure with full error message:
https://github.com/rjaros/kvision/runs/2205736268
It fails only on legacy backend test, with ChromeHeadless, Chrome and Firefox runners with very similar message. The problem is somehow connected to react or kotlin-react, because only kvision-react module is affected. Anyone has any idea what could be the cause of this?Robert Jaros
03/26/2021, 11:56 PMRobert Jaros
03/27/2021, 12:01 AMRobert Jaros
03/27/2021, 12:06 AMturansky
03/27/2021, 4:53 AMkotlin-react
doesn’t use fixed react version.
For now it must use 17.0.2
if you haven’t fixed version in your project.turansky
03/27/2021, 4:57 AM17.0.2
will be used