I am trying to run a testCafe test using test cafe API:-
await testCafe.createRunner().src(./testFile.ts).browsers("Chrome").run();
Every time I try to run the test, testCafe API throws this error with the following stacktrace:
Uncaught (in promise) TypeError: this._connectionsReadyTimeout.unref is not a function
at BrowserSet.dispose (C:\Users\node_modules\testcafe\src\runner\browser-set.ts:161:43)
at C:\Users\node_modules\testcafe\src\runner\browser-set.ts:129:34
at Bootstrapper._getBrowserConnections (C:\Users\node_modules\testcafe\src\runner\bootstrapper.ts:214:16)
at async Promise.all (index 0)
at Bootstrapper._bootstrapParallel (C:\Users\node_modules\testcafe\src\runner\bootstrapper.ts:375:38)
at Bootstrapper.createRunnableConfiguration (C:\Users\node_modules\testcafe\src\runner\bootstrapper.ts:411:42)
How can I resolve this?
Aucun commentaire:
Enregistrer un commentaire