You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using allure-jasmine with Jest, the following error is thrown:
TypeError: The "path" argument must be of type string. Received undefined
at Object.isAbsolute (node:path:435:5)
at isAbsolute (C:\Users\madam\repos\jasmine-test\node_modules\allure-js-commons\src\sdk\reporter\utils.ts:105:12)
at getPackageLabel (C:\Users\madam\repos\jasmine-test\node_modules\allure-js-commons\src\sdk\reporter\utils\labels.ts:49:25)
at C:\Users\madam\repos\jasmine-test\node_modules\allure-jasmine\src\index.ts:156:41
at ReporterRuntime.updateFunc (C:\Users\madam\repos\jasmine-test\node_modules\allure-js-commons\src\sdk\reporter\ReporterRuntime.ts:226:5)
at AllureJasmineReporter.updateTest [as specDone] (C:\Users\madam\repos\jasmine-test\node_modules\allure-jasmine\src\index.ts:147:24)
at dispatch (C:\Users\madam\repos\jasmine-test\node_modules\jest-jasmine2\build\jasmine\ReportDispatcher.js:87:28)
at ReportDispatcher.specDone (C:\Users\madam\repos\jasmine-test\node_modules\jest-jasmine2\build\jasmine\ReportDispatcher.js:63:11)
at Object.specResultCallback (C:\Users\madam\repos\jasmine-test\node_modules\jest-jasmine2\build\jasmine\Env.js:429:20)
at Spec.attr.resultCallback (C:\Users\madam\repos\jasmine-test\node_modules\jest-jasmine2\build\setup_jest_globals.js:60:26)
at complete (C:\Users\madam\repos\jasmine-test\node_modules\jest-jasmine2\build\jasmine\Spec.js:172:12)
at C:\Users\madam\repos\jasmine-test\node_modules\jest-jasmine2\build\jasmine\Spec.js:169:32
The test run then hangs until ctrl+C is pressed.
To Reproduce
Steps to reproduce the behavior:
npx install --save-dev jest jest-jasmine2 allure-jasmine
Describe the bug
When using allure-jasmine with Jest, the following error is thrown:
The test run then hangs until ctrl+C is pressed.
To Reproduce
Steps to reproduce the behavior:
npx install --save-dev jest jest-jasmine2 allure-jasmine
jest.config.json
:./spec/helpers/allure.js
:npx jest
Expected behavior
No error; test results are generated.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: