Describe the bug
All my tests throw 2 errors at a time, 1 is actual error of a test and the other is "No active group"
To Reproduce
I added jest setup files as per your instructions
I changed jest config by adding ./jest.setup.js to setupFilesAfterEnv
I run tests as before using jest --runInBand --verbose=true ./test/e2e command
I generate report using node_modules/.bin/allure generate ./allure-results -c && allure open
Actual result
Tests are run correctly. Each tests has 2 results: 1 for the tests and 1 for the reporter. Results for the reporter are shown in Allure after report generation. That's not the information I want to see.
Expected result
No errors from reporter upon run AND if there're reporter's errors they should be omitted for the reporter.
Desktop (please complete the following information):
OS: iOS 10.15.7
jest-allure2 Version 1.2.3
jest version 25.2.1 (also tried with 26.6.0)
node version 14.13.1 (also tried with v12)
Additional context
Full error:
at JasmineAllureReporter.get currentGroup [as currentGroup] (path/node_modules/jest-allure2/src/reporter.ts:76:10)
at path/node_modules/jest-allure2/src/reporter.ts:434:9
at Object. (path/node_modules/jest-allure2/src/reporter.ts:399:31)
at path/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise ()
at mapper (path/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at path/node_modules/jest-jasmine2/build/queueRunner.js:75:41
Describe the bug All my tests throw 2 errors at a time, 1 is actual error of a test and the other is "No active group"
To Reproduce
./jest.setup.js
tosetupFilesAfterEnv
jest --runInBand --verbose=true ./test/e2e
commandnode_modules/.bin/allure generate ./allure-results -c && allure open
Actual result Tests are run correctly. Each tests has 2 results: 1 for the tests and 1 for the reporter. Results for the reporter are shown in Allure after report generation. That's not the information I want to see.
Expected result No errors from reporter upon run AND if there're reporter's errors they should be omitted for the reporter.
Desktop (please complete the following information):
Additional context Full error:
Jest has this settings: