I just cloned the repo and followed the instructions in the Readme, but when i run "npm test" the testcafe client runs briefly before logging this error in the console.
TypeError: Cannot read properties of undefined (reading 'forEach')
at DevToolsTestFileCompiler._preProcess (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/compiler/test-file/formats/dev-tools/compiler.ts:59:26)
at DevToolsTestFileCompiler.compile (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/compiler/test-file/formats/dev-tools/compiler.ts:50:35)
at Compiler._getTests (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/compiler/index.js:92:31)
at Compiler._compileTestFiles (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/compiler/index.js:104:35)
at Compiler.getTests (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/compiler/index.js:117:34)
at /Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/runner/bootstrapper.ts:267:25
at Object.guardTimeExecution [as default] (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/utils/guard-time-execution.ts:6:31)
at Bootstrapper._getTests (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/runner/bootstrapper.ts:266:21)
at async Promise.all (index 1)
at Bootstrapper._bootstrapParallel (/Users/myUser/Documents/source/testcafe-examples/node_modules/testcafe/src/runner/bootstrapper.ts:366:38)
I just cloned the repo and followed the instructions in the Readme, but when i run "npm test" the testcafe client runs briefly before logging this error in the console.
Any ideas to what the cause could be?
node v17.0.0 npm v8.1.0