jest-allure2-adapter
Advanced tools
Comparing version 0.2.19 to 0.2.20
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.2.19", | ||
"version": "0.2.20", | ||
"description": "Allure 2 Adapter for jest", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index", |
@@ -129,4 +129,6 @@ # Jest-Allure-2 reporting plugin | ||
To use custom jasmine reporter - for example to add smth into allure on spec started you can use custom jasmine reporter. | ||
In this case you do not need to add `jest-allure2-adapter/dist/setup-default` into SetupFilesAfterEnv section. | ||
To use custom jasmine reporter - for example to add smth into allure when spec or suite started you can use custom jasmine reporter. | ||
In this case you do NOT need to add `jest-allure2-adapter/dist/setup-default` into SetupFilesAfterEnv section. | ||
Just call registerAllureReporter with yur custom jasmine reporter. | ||
see example: | ||
@@ -136,5 +138,7 @@ | ||
// jest.setup.ts | ||
... | ||
setupFilesAfterEnv: [ | ||
'./config/jest-custom-reporter.ts', | ||
], | ||
... | ||
``` | ||
@@ -144,2 +148,3 @@ | ||
// jest-custom-reporter.ts | ||
import { AllureReporterApi, jasmine_ } from 'jest-allure2-adapter'; | ||
@@ -146,0 +151,0 @@ import { relative } from 'path'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48595
239